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

Add an {ns, lastmod} index hint to the query created by ConfigDiffTracker::configDiffQuery()

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • Sharding EMEA

    Description

      We depend on the

      {ns, lastmod}

      index on config.chunks being used in the chunk diff query to config.chunks so that yielding does not cause us to miss chunk documents and never see them. We should include a hint on the query to assure that the query planner uses that index for the request: it's very unlikely that the planner will choose not to use that index, but the planner can technically choose to use something else.

      Attachments

        Activity

          People

            backlog-server-sharding-emea [DO NOT USE] Backlog - Sharding EMEA
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: