Due to SERVER-99357, drop/createIndexes with concurrent chunk migrations can cause index inconsistencies for a collection. These inconsistencies can prevent future chunk migrations from succeeding, which can block removeShard.
The root cause is a known issue which will be addressed in the future, but in the meantime we should add some additional error handling to the add/remove shard background hook so that it doesn't hang and timeout when this issue is hit.
- causes
-
SERVER-132485 Add/Remove shard hook should avoid sending collection level CMC against temporary resharding collections
-
- Backlog
-
- is related to
-
SERVER-99357 Concurrent migration and create or drop indexes could leave inconsistent indexes in the cluster
-
- Backlog
-
-
SERVER-139877 Fix time-series shard key translation and getMore cursor routing in add/remove shard index-inconsistency recovery
-
- Open
-