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 http://wiki.apache.org/cassandra/Operations
> 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

-- 
------------------------------------------------------------------------
Anthony Molinaro                           <antho...@alumni.caltech.edu>

Reply via email to