Created
October 6, 2016 02:35
-
-
Save dungmanh88/5b702bb4edfdf363cf84ac030136ef6a to your computer and use it in GitHub Desktop.
Schedule to stop mongo sharding balancer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use config | |
db.settings.update( { _id : "balancer" }, { $set : { activeWindow : { start : "06:00", stop : "23:59" } } }, true ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment