Is there a way to replace a failed server using vnodes? I only had occasion to do this once, on a relatively small cluster. At the time I just needed to get the new server online and wasn't concerned about the performance implications, so I just removed the failed server from the cluster and bootstrapped a new one. Of course that caused a bunch of key reassignments, so I'm sure it would be less work for the cluster if I could bring a new server online with the same vnodes as the failed server.
On Thu, Jun 20, 2013 at 2:40 PM, Robert Coli <rc...@eventbrite.com> wrote: > On Thu, Jun 20, 2013 at 10:40 AM, Emalayan Vairavanathan > <svemala...@yahoo.com> wrote: > > In the case where replace a cassandra node (call it node A) with another > one > > that has the exact same IP (ie. during a node failure), what exactly > should > > we do? Currently I understand that we should at least run "nodetool > > repair". > > If you lost the data from the node, then what you want is "replace_token." > > If you didn't lose the data from the node (and can tolerate stale > reads until the repair completes) you want to start the node with > auto_bootstrap set to false and then repair. > > =Rob >