
OPERATIONAL DEFECT DATABASE
...

...
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
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
Click on a version to see all relevant bugs
MongoDB Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.