incubator-cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony Molinaro <>
Subject Re: [ Clarification on Ring operations in Cassandra 0.5.1]
Date Mon, 19 Apr 2010 17:02:58 GMT
I'll partially answer my own post since I've not heard back anything yet.

On Sat, Apr 17, 2010 at 03:56:34PM -0700, Anthony Molinaro wrote:
>   I was looking over
> and it seems like I could do something like.
> 1) shutdown cassandra on instance I want to replace
> 2) create a new instance, start cassandra with AutoBootstrap = true
> 3) run nodeprobe removetoken against the token of the instance I am
>    replacing
> Then according to the 'Handling failure' the new instance will "find the
> appropriate position automatically".  However, it's not clear to me
> if this means it will take the same range as the shutdown node or not,
> because normally AutoBootstrap == true means it will take "half the keys
> from the node with the most disk space used." (from the 'Bootstrap' section).
> So will the process I describe above result in what I want, a new node
> replacing an old one?

The answer to this is 'no'.  If you shutdown a node and start a new node
with AutoBootstrap = true, the new node will take "half the keys
from the node with the most disk space used" and not "find the appropriate
position automatically."  I'll keep experimenting and see if I can figure
out the real processes to replace bad nodes.


Anthony Molinaro                           <>

View raw message