The BalancerDefragmentationPolicy is a collaborator of the Balancer accessed by its secondary thread and an executor - and its state is hence protected by a mutex.
In order to avoid deadlocks in stepdown scenarios, BalancerDefragmentationPolicy should avoid majority waits while holding its mutex.
- causes
-
SERVER-81372 Collection defragmentation phases sporadically jump backward
- Closed