Fix log_format_slowms_samplerate_loglevel.js by ensuring that the query planner always chooses the same plan

XMLWordPrintableJSON

    • 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.

            Assignee:
            Bernard Gorman
            Reporter:
            Bernard Gorman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: