Currently, we cancel the active callback handle for the remote vote command request only on shutdowns and rollback. It's ok to extend to below other callers who can set commit or abort signal. Already, we skip voting if the index builder received commit or abort signal.
1) oplog commit
2) oplog abort
3) primary signaling commit quorum satisfied.
4) primary user aborts.
- related to
-
SERVER-46704 Two phase index build can violate locking ordering and can lead to deadlocks.
- Closed