-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: 3.7.8
-
Component/s: Internal Code, Testing Infrastructure
-
None
-
Fully Compatible
-
ALL
-
Query 2018-05-07
-
46
-
None
-
None
-
None
-
None
-
None
-
None
-
None
The log_format_slowms_samplerate_loglevel.js in the noPassthrough suite is consistently failing on certain variants. This is because the test exercises both mongoD and mongoS logging in a sharded cluster, and on these particular variants queries favour the _id:1 index over the _id:hashed index on which the collection is sharded.
Fix this by sharding the cluster on _id:1 to ensure that the planner always chooses the expected index.