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.
- related to
-
SERVER-44949 listIndexes on config.system.sessions does not return correct indexes
- Closed