Skip to content

Instantly share code, notes, and snippets.

@jtuple
Created May 25, 2012 07:33
Show Gist options
  • Save jtuple/2786426 to your computer and use it in GitHub Desktop.
Save jtuple/2786426 to your computer and use it in GitHub Desktop.
$ /tmp/rt/dev/dev3/bin/riak-admin cluster plan
=============================== Staged Changes ================================
Action Nodes(s)
-------------------------------------------------------------------------------
join '[email protected]'
force-replace '[email protected]' with '[email protected]'
-------------------------------------------------------------------------------
WARNING: All of '[email protected]' replicas will be lost
NOTE: Applying these changes will result in 1 cluster transition
###############################################################################
After cluster transition 1/1
###############################################################################
================================= Membership ==================================
Status Ring Pending Node
-------------------------------------------------------------------------------
valid 34.4% -- '[email protected]'
valid 32.8% -- '[email protected]'
valid 32.8% -- '[email protected]'
-------------------------------------------------------------------------------
Valid:3 / Leaving:0 / Exiting:0 / Joining:0 / Down:0
WARNING: Not all replicas will be on distinct nodes
Partitions reassigned from cluster changes: 21
21 reassigned from '[email protected]' to '[email protected]'
$ /tmp/rt/dev/dev3/bin/riak-admin cluster commit
Cluster changes committed
$ /tmp/rt/dev/dev3/bin/riak-admin member_status
================================= Membership ==================================
Status Ring Pending Node
-------------------------------------------------------------------------------
valid 34.4% -- '[email protected]'
valid 32.8% -- '[email protected]'
valid 32.8% -- '[email protected]'
-------------------------------------------------------------------------------
Valid:3 / Leaving:0 / Exiting:0 / Joining:0 / Down:0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment