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()

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • Sharding EMEA

      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.

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

              Created:
              Updated:
              Resolved: