You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jon Travis (JIRA)" <ji...@apache.org> on 2014/08/14 23:00:18 UTC

[jira] [Commented] (CASSANDRA-5836) Seed nodes should be able to bootstrap without manual intervention

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

Jon Travis commented on CASSANDRA-5836:
---------------------------------------

I was just bitten by this as well.  Our ops uses ZooKeeper to store a list of all our infrastructure, so I wrote a SeedProvider that peeked into Zk for the list of Cassandra nodes and returned that as the seed list ... big mistake..   Our push-button deployment launched the node (it thought it was a seed), so it essentially stopped doing anything, reported errors of missing keyspaces and column families, then simply sat there.  All the while, it claims it has a portion of the ring, yet no data. 

There is no good documentation about this and no warnings in the logs -- this is certainly something that will bite more people.  It would be nice if the process could warn about the error or refuse to start under this scenario.  

> Seed nodes should be able to bootstrap without manual intervention
> ------------------------------------------------------------------
>
>                 Key: CASSANDRA-5836
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5836
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Bill Hathaway
>            Priority: Minor
>
> The current logic doesn't allow a seed node to be bootstrapped.  If a user wants to bootstrap a node configured as a seed (for example to replace a seed node via replace_token), they first need to remove the node's own IP from the seed list, and then start the bootstrap process.  This seems like an unnecessary step since a node never uses itself as a seed.
> I think it would be a better experience if the logic was changed to allow a seed node to bootstrap without manual intervention when there are other seed nodes up in a ring.



--
This message was sent by Atlassian JIRA
(v6.2#6252)