cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Cassandra Wiki] Update of "FAQ" by TylerHobbs
Date Sat, 20 Oct 2012 20:46:20 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.

The "FAQ" page has been changed by TylerHobbs:
http://wiki.apache.org/cassandra/FAQ?action=diff&rev1=153&rev2=154

Comment:
Update ring description function to be describe_ring()

  == What happens to existing data in my cluster when I add new nodes? ==
  When a new nodes joins a cluster, it will automatically contact the other nodes in the cluster
and copy the right data to itself.
  
- In general, you should set the 'initial_token' config option in cassandra.yaml before starting
a new node. Otherwise, a suboptimal token may be selected automatically, leading to an unbalanced
ring.  See [[Operations#Token_selection|token selection]] in the operations wiki.
+ In general, you should set the `initial_token` config option in cassandra.yaml before starting
a new node. Otherwise, a suboptimal token may be selected automatically, leading to an unbalanced
ring.  See [[Operations#Token_selection|token selection]] in the operations wiki.
  
  <<Anchor(node_clients_connect_to)>>
  
@@ -84, +84 @@

  
   1. You can maintain a list of contact nodes (all or a subset of the nodes in the cluster),
and configure your clients to choose among them.
   1. Use round-robin DNS and create a record that points to a set of contact nodes (recommended).
-  1. Use the `get_string_property("token map")` RPC to obtain an update-to-date list of the
nodes in the cluster and cycle through them.
+  1. Use the `describe_ring(keyspace)` Thrift RPC call to obtain an update-to-date list of
the nodes in the cluster and cycle through them.
   1. Deploy a load-balancer, proxy, etc.
  
  When using a higher-level client you should investigate which, if any, options are implemented
by your higher-level client to help you distribute your requests across nodes in a cluster.

Mime
View raw message