IndexCatalogImpl::removeExistingIndexesNoChecks() does not account for index_key_validate::repairIndexSpec() to remove invalid index options when it calls _doesSpecConflictWithExisting().
{"s":"W", "c":"SHARDING", "id":23777, "ctx":"MoveChunk","msg":"Error while doing moveChunk","attr":{"error":"OperationFailed: Data transfer error: migrate failed: CannotCreateCollection: aborting, shard is missing 1 indexes and collection is not empty. Non-trivial index creation should be scheduled manually"}}
- is caused by
-
SERVER-78369 ignoreUnknownIndexOptions doesn't account for the 'weights' index field
- Closed
-
SERVER-65797 Remove invalid index specs in memory before parsing for listIndexes
- Closed
- is depended on by
-
SERVER-93404 Complete TODO listed in SERVER-89210
- Blocked
- is duplicated by
-
SERVER-89210 Chunk migration can unnecessarily fail due to inconsistency between listIndexes and local catalog
- Closed
- related to
-
SERVER-84303 Give a better indication of why a moveChunk operation has failed
- Backlog