refineCollectionShardKey verifies shard key indexes by checking the primary shard. createIndex however only creates indexes on shards that own chunks. So even if a user creates the correct indexes, if the primary shard does not own chunks, refineCollectionShardKey can fail. See repro.
refineShardKey should verify indexes on shards with chunks
- Assignee:
-
Jack Mulrow
- Reporter:
-
Matthew Saltz (Inactive)
- Votes:
-
0 Vote for this issue - Watchers:
-
3 Start watching this issue
- Created:
- Updated:
- Resolved: