cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-437) record token/endpoint (ip) pairs in system table
Date Mon, 21 Sep 2009 04:24:16 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12757814#action_12757814
] 

Jonathan Ellis commented on CASSANDRA-437:
------------------------------------------

My comments from IRC:

what i was thinking is when a node joins the ring then you just store ip -> token. so the
place to look is storageservice.onchange. 

no need to expose in nodeprobe; in the system table the data is available by thrift if necessary.
 

> record token/endpoint (ip) pairs in system table
> ------------------------------------------------
>
>                 Key: CASSANDRA-437
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-437
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jonathan Ellis
>            Assignee: Sammy Yu
>             Fix For: 0.5
>
>
> Each node records its own token after generating one or reading it from the config file.
 For more redundancy we should record others'  tokens too.
> This should not be regarded as canonical information -- do not use it to take shortcuts
instead of using gossip.  It is only to provide redundancy in case of failure.
> For instance, if your cluster loses power and when it comes back up, the disk w/ token
information on one of your machines is dead, this will let you get that token information
easily from another node instead of having to guess by scanning sstables.  This is not a theoretical
scenario; something of this nature did happen to FB.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message