You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Rock Zhang <ro...@alohar.com> on 2015/09/24 10:29:37 UTC
Regarding " node tool move "
Hi All,
I want to manually move some token from one hostA to host B, i do not fully
understand this command,
* move <new token> - Move node on the token ring to a new token*
Say host A has token: (i got it with nodetool info -T)
Token : -9096422322933500933
Token : -8988583730922232407
Token : -8881261198286236893
Token : -8811920524626612334
on host A, if i run command "nodetool move -9096422322933500933" , what
gonna happen ?
Move data associated with token "-9096422322933500933" from where to where ?
If i want to move data on token "-8811920524626612334" to hostB, what
should I do ?
Thanks
Rock
Re: Regarding " node tool move "
Posted by Robert Coli <rc...@eventbrite.com>.
On Thu, Sep 24, 2015 at 1:29 AM, Rock Zhang <ro...@alohar.com> wrote:
> on host A, if i run command "nodetool move -9096422322933500933" , what
> gonna happen ?
> Move data associated with token "-9096422322933500933" from where to where
> ?
>
When you change the token of a node, you change the "range" it is a primary
replica for.
Replicas for the range being "lost" on that node and adjacent nodes stream
their data to nodes "gaining" that data/range.
Be sure to run nodetool cleanup after any move operation.
=Rob