Operational Defect Database

BugZero found this defect 188 days ago.

MongoDB | 2498679

Remove write concern from the batched request

Last update date:

3/15/2024

Affected products:

MongoDB Server

Affected releases:

5.0.0

6.0.0

7.0.0

7.3.0-rc0

Fixed releases:

No fixed releases provided.

Description:

Info

BatchedCommandRequest is the legacy (pre-IDL) way that write commands were parsed by MongoS and constructed to be sent to MongoD. At that time there wasn't write concern on the OpContext (there wasn't generic parsing of WC on the MongoS to be more specific) so each request had to parse and store it. Now Mongos should have the client supplied write concern in the _opCtx at the setup step which parse the request and set the correct wc.

Top User Comments


Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

In Code Review

Learn More

Search:

...