-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Fully Compatible
-
ALL
-
v7.0, v6.0, v5.0
-
Execution EMEA Team 2023-07-24, Execution EMEA Team 2023-08-07
-
150
Currently ScopedSetShardRole which sets the shard version is scoped to affect the whole index build thread. This should not be necessary, and has caused issues in the past (SERVER-69530).
The shard version protocol is only required when setting up the index build and writing the 'startIndexBuild' oplog entry. If a chunk migration is in-progress while an index build is started, it will be aborted. A recipient shard will copy in-progress indexes from the donor shard, and if the index build is aborted on the donor, the client running createIndexes will receive an error requiring them to retry the command, and the indexes will become consistent.
- is depended on by
-
SERVER-78662 Deadlock with index build, step down, prepared transaction, and MODE_IS coll lock
- Closed
- is related to
-
SERVER-69530 Skip sharding DB check during index builds
- Closed
-
SERVER-69794 Investigate support for excluding sharding critical section checks in AutoGet
- Closed