Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-34715

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

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • ALL
    • Query 2018-05-07
    • 46

    Description

      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.

      Attachments

        Activity

          People

            bernard.gorman@mongodb.com Bernard Gorman
            bernard.gorman@mongodb.com Bernard Gorman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: