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

Sharded listIndexes should always target a shard that owns chunks

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.3
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 2019-12-16, Sharding 2019-12-30

      PM-1361 changed the sharded index commands to only target shards that own chunks for a collection, so it is no longer correct for listIndexes to always target the primary shard to return a collection's indexes. Instead listIndexes should always target the shard that owns the chunk $minKey belongs to, so repeated listIndexes typically target the same shard.

            Assignee:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Reporter:
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: