Created
September 3, 2014 11:52
-
-
Save coderoshi/ae097c6db442e0152d03 to your computer and use it in GitHub Desktop.
This file contains 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
## Set SC from off to on | |
find /riak/dev -name riak.conf | xargs sed -i -e "s/## strong_consistency = on/strong_consistency = on/" | |
## restart each node in order | |
for d in `ls /riak/dev`; do /riak/dev/$d/bin/riak restart; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment