You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Vijay (Commented) (JIRA)" <ji...@apache.org> on 2012/02/22 19:01:49 UTC
[jira] [Commented] (CASSANDRA-3555) Bootstrapping to handle more
failure
[ https://issues.apache.org/jira/browse/CASSANDRA-3555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13213800#comment-13213800 ]
Vijay commented on CASSANDRA-3555:
----------------------------------
Looks like (1) is not a problem we do throw exception if no seeds seen.
if (endpoints.isEmpty())
throw new RuntimeException("No other nodes seen! Unable to bootstrap."
> Bootstrapping to handle more failure
> ------------------------------------
>
> Key: CASSANDRA-3555
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3555
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Affects Versions: 1.0.5
> Reporter: Vijay
> Assignee: Vijay
> Fix For: 1.2
>
> Attachments: 3555-bootstrap-with-down-node-test.txt, 3555-bootstrap-with-down-node.txt
>
>
> We might want to handle failures in bootstrapping:
> 1) When none of the Seeds are available to communicate then throw exception
> 2) When any one of the node which it is bootstrapping fails then try next in the list (and if the list is exhausted then throw exception).
> 3) Clean all the existing files in the data Dir before starting just in case we retry.
> 4) Currently when one node is down in the cluster the bootstrapping will fail, because the bootstrapping node doesnt understand which one is actually down.
> Also print the nt ring in the logs so we can troubleshoot later if it fails.
> Currently if any one of the above happens the node is skipping the bootstrap or hangs.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira