Dear Wiki user, You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.
The "VirtualNodes/Balance" page has been changed by EricEvans: http://wiki.apache.org/cassandra/VirtualNodes/Balance?action=diff&rev1=3&rev2=4 Comment: proposed tool interfaces === User Interface === + The `balance` sub-command "balances" the node it is ran against, by default a targeted ownership of `1/n`. The sub-command takes an optional offset in the range<<FootNote(Does this range make sense?)>> of `+100` to `-100`, which results in a targeted ownership of `(1/n)*(offset/100)`. + + ''Note: ranges copied from/to other nodes must be selected in such a way as to respect their offsets.'' + {{{ - $ nodetool balance + $ nodetool balance [+/-offset] }}} + + The ``shuffle` sub-command randomly exchanges contiguous ranges on the node it ran against, with other nodes in the cluster. {{{ $ nodetool shuffle }}} + The `trim` sub-command assigns an offset in the range<<FootNote(Does this range make sense?)>> of `+100` to `-100`, and copies randomly selected ranges onto, or off of, the node it is ran against to achieve the requested ownership (`(1/n)*(offset/100)`). + {{{ - $ nodetool trim + $ nodetool trim <+/- offset> }}}