You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by Apache Wiki <wi...@apache.org> on 2011/04/28 18:55:18 UTC
[Cassandra Wiki] Update of "Operations" by AlexisLeQuoc
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.
The "Operations" page has been changed by AlexisLeQuoc.
The comment on this change is: Added instructions to change the replication factor on a live cluster.
http://wiki.apache.org/cassandra/Operations?action=diff&rev1=85&rev2=86
--------------------------------------------------
The same options apply to changing replication strategy.
Reducing replication factor is easily done and only requires running cleanup afterwards to remove extra replicas.
+
+ To update the replication factor on a live cluster, forget about cassandra.yaml. Rather you want to use '''cassandra-cli''':
+ update keyspace Keyspace1 set replication_factor = 3;
=== Network topology ===
Besides datacenters, you can also tell Cassandra which nodes are in the same rack within a datacenter. Cassandra will use this to route both reads and data movement for Range changes to the nearest replicas. This is configured by a user-pluggable !EndpointSnitch class in the configuration file.