Operational Defect Database

BugZero found this defect 144 days ago.

MongoDB | 2533324

Chunk migration may fail due to indexes having not relevant and invalid index options

Last update date:

3/14/2024

Affected products:

MongoDB Server

Affected releases:

6.0.0

5.0.10

7.0.0

7.1.0

7.2.0

Fixed releases:

No fixed releases provided.

Description:

Info

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"}}

Top User Comments


Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Open

Learn More

Search:

...