-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 6.0.0, 5.0.10, 7.0.0, 8.0.0-rc0
-
None
-
Catalog and Routing
-
Fully Compatible
-
ALL
-
Execution Team 2024-01-22, Execution Team 2024-02-05, Execution Team 2024-02-19, Execution Team 2024-08-05, CAR Team 2024-09-30
-
2
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 duplicated by
-
SERVER-89210 Chunk migration can unnecessarily fail due to inconsistency between listIndexes and local catalog
- Backlog
- related to
-
SERVER-84303 Give a better indication of why a moveChunk operation has failed
- Backlog