Currently, in the concurrency_*_with_balancer suites, even if the balancer is on, it may not move chunks if there is not a data imbalance across shards. This means that we are not getting as much coverage as we would like for migrations concurrent with other operations.
To enable our concurrency tests to have better coverage of migrations during stepdowns, we would like the balancer to cause more frequent migrations. Adding a failpoint which causes the balancer to always move a random chunk (ignoring the current data distribution) will ensure that the balancer is consistently moving chunks throughout the execution of the concurrency workload.
The alternative in the past has been to use the moveChunk command in one of the state transitions of the workload - however, moveChunk operations are currently banned for the with_stepdowns suites (which will be addressed in the future in SERVER-40713).
- is depended on by
-
SERVER-32692 Make zbigMapReduce.js, sharding_balance4.js, and bulk_shard_insert.js more resilient under slow machines
- Closed
-
SERVER-43099 Reenable random chunk migration failpoint for concurrency with_balancer suites
- Closed
- related to
-
SERVER-40713 Enable fsm workloads that use moveChunk in sharded stepdown suites
- Closed