After SERVER-42185, index build cancellations may be timestamped in one of two ways:
- noop write to oplog.
SERVER-34172 - ghost timestamp.
SERVER-42185
We should consider converging on using ghost timestamps for cancellations.
Additionally, we may tweak index build cleanup to release the RSTL lock in SERVER-42621. This makes the first method (SERVER-34172) redundant.
- is related to
-
SERVER-34172 Turn primary index build ghost writes into noop oplog writes.
- Closed
-
SERVER-42185 cleanUpAfterBuild can be called after the node steps down to secondary
- Closed
-
SERVER-42621 3 way deadlock can happen between hybrid index build, prepared transactions and stepdown thread.
- Closed