Sharded listIndexes should always target a shard that owns chunks

XMLWordPrintableJSON

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

      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
            Reporter:
            Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: