incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Coli <rc...@palominodb.com>
Subject Re: Changing placement stratgy?
Date Fri, 23 Nov 2012 20:16:07 GMT
On Fri, Nov 23, 2012 at 3:33 AM, Thomas Stets <thomas.stets@gmail.com> wrote:
> Is there any advantage in using a different placement strategy, consigering
> that each node has all of the data anyway?

No. In your case there is no advantage to NetworkTopologyStrategy. It
is somewhat odd that you have one logical cluster in two physical
datacenters, however. That's not usually the way people do it. Of
course people don't often do RF=N either. :)

> If so, it is possible to change the placement strategy in an existing cluster?

Yes. The only practical way is to change it such that it is a NOOP. In
your case (RF=N), all changes will be a NOOP.

Once changed, however, you can use the features of the new Strategy to
your advantage. Although in your case it doesn't matter.. If you
decide to try to change your Strategy in general, be sure to design a
test that uses "nodetool getendpoints" to verify that replica sets say
the same.

=Rob

-- 
=Robert Coli
AIM&GTALK - rcoli@palominodb.com
YAHOO - rcoli.palominob
SKYPE - rcoli_palominodb

Mime
View raw message