You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Gabriel Wicke <gs...@gmail.com> on 2016/03/17 22:32:58 UTC

Parallel bootstraps in two DCs with NetworkTopologyStrategy

Hi,

we are in the process of expanding a multi-DC cluster, and are
wondering if it is safe to bootstrap one node per DC in parallel. My
intuition would be that this should not lead to any token range
overlaps (similar to bootstrapping multiple nodes in a rack), so
*should* be safe. We are using vnodes.

Could anybody shed some light on this?

Thanks,

Gabriel

Re: Parallel bootstraps in two DCs with NetworkTopologyStrategy

Posted by Alain RODRIGUEZ <ar...@gmail.com>.
This should work indeed.

Anyway, you can always try, I believe when you can't add a node, Cassandra
will throw an error.

You can then do some cleaning, remove the joining node from the ring if it
is still there after the failure and clear data "rm -rf
/path/to/cassandra/*" on the joining node that failed. Then try adding it
again when it is the good time to do it. But basically, adding node to
distinct DC are operations relatively independent and it should run
smoothly.

C*heers,
-----------------------
Alain Rodriguez - alain@thelastpickle.com
France

The Last Pickle - Apache Cassandra Consulting
http://www.thelastpickle.com




2016-03-17 22:32 GMT+01:00 Gabriel Wicke <gs...@gmail.com>:

> Hi,
>
> we are in the process of expanding a multi-DC cluster, and are
> wondering if it is safe to bootstrap one node per DC in parallel. My
> intuition would be that this should not lead to any token range
> overlaps (similar to bootstrapping multiple nodes in a rack), so
> *should* be safe. We are using vnodes.
>
> Could anybody shed some light on this?
>
> Thanks,
>
> Gabriel
>