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/10/24 16:12:12 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:
http://wiki.apache.org/cassandra/Operations?action=diff&rev1=98&rev2=99
Comment:
Update cli command syntax to change replication factor
To update the replication factor on a live cluster, forget about cassandra.yaml. Rather you want to use '''cassandra-cli''':
- . update keyspace Keyspace1 with replication_factor = 3;
+ . update keyspace Keyspace1 with strategy_options = {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.