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 2010/04/14 00:30:51 UTC

[Cassandra Wiki] Update of "Operations" by RobertColi

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 RobertColi.
The comment on this change is: keys have "first" replicas, not "primary" replicas..
http://wiki.apache.org/cassandra/Operations?action=diff&rev1=41&rev2=42

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

  See LiveSchemaUpdates [refers to functionality in 0.7]
  
  == Ring management ==
- Each Cassandra server [node] is assigned a unique Token that determines what keys it is the primary replica for.  If you sort all nodes' Tokens, the Range of keys each is responsible for is (!PreviousToken, !MyToken], that is, from the previous token (exclusive) to the node's token (inclusive).  The machine with the lowest Token gets both all keys less than that token, and all keys greater than the largest Token; this is called a "wrapping Range."
+ Each Cassandra server [node] is assigned a unique Token that determines what keys it is the first replica for.  If you sort all nodes' Tokens, the Range of keys each is responsible for is (!PreviousToken, !MyToken], that is, from the previous token (exclusive) to the node's token (inclusive).  The machine with the lowest Token gets both all keys less than that token, and all keys greater than the largest Token; this is called a "wrapping Range."
  
  (Note that there is nothing special about being the "primary" replica, in the sense of being a point of failure.)