Skip to content

Instantly share code, notes, and snippets.

@notmyname
Created April 8, 2014 14:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save notmyname/d8251832ebc7b2c6addf to your computer and use it in GitHub Desktop.
Save notmyname/d8251832ebc7b2c6addf to your computer and use it in GitHub Desktop.
swift-ring-builder <builder_file> set_replicas <replicas>
Changes the replica count to the given <replicas>. <replicas> may
be a floating-point value, in which case some partitions will have
floor(<replicas>) replicas and some will have ceiling(<replicas>)
in the correct proportions.
A rebalance is needed to make the change take effect.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment