-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 6.2.0-rc0
-
Component/s: None
-
None
-
Fully Compatible
-
ALL
-
-
Sharding EMEA 2022-10-31, Sharding EMEA 2022-11-14
-
55
On stepdown the RangeDeleterService destruct the ReadyRangeDeletionsProcessor that in turns interrupt and join its internal thread.
In order not to slowdown the stepdown process we should instead
- Interrupt the internal thread onStepDown()
- Join the internal thread onStepUpBegin()
- Start the internal thread onStepUpComplete
The proposed approach will still guarantee that all the previous range deletions will be drained strictly before the node can transition to PRIMARY again.
- causes
-
SERVER-71275 Move up initialization of range deleter processor's `state`
- Closed
-
SERVER-73293 Make sure range deleter service is up before accessing `_rangeDeletionTasks`
- Closed
- is duplicated by
-
SERVER-70949 Condition variable wait might lead to liveness failure and then crash a node
- Closed