The secondary thread of the balancer makes use of a ScopedTaskExecutor to asynchronously dispatch remote commands and process their outcome.
When such threads exits, it should make sure that there are no remaining commands/outcomes to be processed by joining such executor to ensure that its internal state remains consistent throughout multiple "step down + step up cycles"
- is caused by
-
SERVER-77868 Balancer secondary thread should reset state on step up
- Closed