Operational Defect Database

BugZero found this defect 2408 days ago.

MongoDB | 407003

[SERVER-30268] Handle all command object formats when injecting readConcern clause

Last update date:

10/30/2023

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

3.5.11

Description:

Info

need to handle command object variant cmd: { "query" : { [js_test:basic2] 2017-07-20T16:29:50.439-0400 "count" : "basic2", [js_test:basic2] 2017-07-20T16:29:50.439-0400 "query" : { [js_test:basic2] 2017-07-20T16:29:50.439-0400 [js_test:basic2] 2017-07-20T16:29:50.440-0400 }, [js_test:basic2] 2017-07-20T16:29:50.440-0400 "fields" : { [js_test:basic2] 2017-07-20T16:29:50.440-0400 [js_test:basic2] 2017-07-20T16:29:50.440-0400 }, [js_test:basic2] 2017-07-20T16:29:50.440-0400 "readConcern" : { [js_test:basic2] 2017-07-20T16:29:50.440-0400 "afterClusterTime" : Timestamp(1500582590, 4), [js_test:basic2] 2017-07-20T16:29:50.440-0400 "level" : "local" [js_test:basic2] 2017-07-20T16:29:50.441-0400 } [js_test:basic2] 2017-07-20T16:29:50.441-0400 }, [js_test:basic2] 2017-07-20T16:29:50.441-0400 "$readPreference" : { [js_test:basic2] 2017-07-20T16:29:50.441-0400 "mode" : "secondary" [js_test:basic2] 2017-07-20T16:29:50.441-0400 } [js_test:basic2] 2017-07-20T16:29:50.441-0400 } i.e the readConcern needs to be inside the "query" or "$query" commands

Top User Comments

xgen-internal-githook commented on Tue, 1 Aug 2017 16:13:23 +0000: Author: {'email': 'misha@mongodb.com', 'username': 'mikety', 'name': 'Misha Tyulenev'} Message: SERVER-30268 unwrap command object when injecting readConcern clause Branch: master https://github.com/mongodb/mongo/commit/3ee1ff685a391bc87b47030f5e5c53ec6909ade7

Additional Resources / Links

Share:

BugZero Risk Score

Coming soon

Status

Closed

Have you been affected by this bug?

cost-cta-background

Do you know how much operational outages are costing you?

Understand the cost to your business and how BugZero can help you reduce those costs.

Discussion

Login to read and write comments.

Have you ever...

had your data corrupted from a

VMware

bug?

Search:

...