[SERVER-24269] Make the balancer sleep between idle rounds configurable Created: 24/May/16 Updated: 09/Aug/16 Resolved: 09/Aug/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Kaloian Manassiev | Assignee: | Kaloian Manassiev |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Sprint: | Sharding 2016-08-29 |
| Participants: |
| Description |
|
Currently the sharding balancer sleeps for 10 seconds between idle rounds (rounds, which did not result in any chunks moving). It would be useful for js tests if this value is made configurable so the test can execute faster. We should make this value be a setting in the config.settings collection called balancerRoundIntervalMilliseconds. |
| Comments |
| Comment by Kaloian Manassiev [ 09/Aug/16 ] |
|
With the improvements to move the balancer to the CSRS primary we have finer control over starting/stopping the balancer and causing balancer rounds to run. Because of this, there is no need to make the round sleep duration configurable. |