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/05/11 01:25:52 UTC

[Cassandra Wiki] Update of "Operations" by MakiWatanabe

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 MakiWatanabe.
The comment on this change is: Update cli command syntax at Replication section.
http://wiki.apache.org/cassandra/Operations?action=diff&rev1=88&rev2=89

--------------------------------------------------

  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;
+     update keyspace Keyspace1 with 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.