incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rameez Thonnakkal <ssram...@gmail.com>
Subject Re: Make an existing cluster multi data-center compatible.
Date Wed, 06 Aug 2014 02:43:03 GMT
I think the RAC placement of these 12 nodes will become important. As the
12 nodes are placed in SimpleSnitch, which is not RAC aware, it would be
good to retain them in single RAC in the property file snitch also
initially. node repair is a safe option. If you need to change the RAC
placement, my take would be to increase the Replication factor to atleast 3
and then distribute the nodes in different RAC.

This is not an expert opinion but a newbie thought.

Regards,
Rameez


On Tue, Aug 5, 2014 at 11:35 PM, Robert Coli <rcoli@eventbrite.com> wrote:

> On Tue, Aug 5, 2014 at 3:52 AM, Rene Kochen <rene.kochen@schange.com>
> wrote:
>
>> Do I have to run full repairs after this change? Because the yaml file
>> states: IF YOU CHANGE THE SNITCH AFTER DATA IS INSERTED INTO THE CLUSTER,
>> YOU MUST RUN A FULL REPAIR, SINCE THE SNITCH AFFECTS WHERE REPLICAS ARE
>> PLACED.
>>
>
> As long as you correctly configure the new snitch so that the replica sets
> do not change, no, you do not need to repair.
>
> Barring that, if you manage to transform the replica set in such a way
> that you always have one (fully repaired) replica from the old set, repair
> will help. I do not recommend this very risky practice. In practice the
> only transformation of snitch in a cluster with data which is likely to be
> safe is one whose result is a NOOP in terms of replica placement.
>
> In fact, the yaml file is stating something unreasonable there, because
> repair cannot protect against this case :
>
> - 6 node cluster, A B C D E F,  RF = 2
>
> 1) Start with SimpleSnitch so that A, B have the two replicas of row key X.
> 2) Write row key X, value Y, to nodes A and B.
> 2) Change to OtherSnitch so that now C,D are responsible for row key X.
> 3) Repair and notice that neither C nor D answer "Y" when asked for row X.
>
> =Rob
>
>

Mime
View raw message