¿Consecuencias de que todos los nodos de Cassandra sean semillas?

Is there any reason why it would be bad to have all Cassandra nodes be in the seed nodes list?

We're working on automated deployments of Cassandra, and so can easily maintain a list of every node that is supposed to be in the cluster and distribute this as a list of seed nodes to all existing nodes, and all new nodes on startup.

All the documentation I can find suggests having a minimum number of seeds, but doesn't clarify what would happen if todos nodes were seeds. There is some mention of seeds being preferred in the gossip protocol, but it is not clear what the consequence would be if all nodes were seeds.

preguntado el 28 de mayo de 14 a las 12:05

posible duplicado de Cassandra Seed Nodes -

1 Respuestas

There is no reason as far as I am aware that is is bad to have all nodes as seeds in your list. I'll post some doc links below to give you some background reading but to summarise; the seed nodes are used primarily for bootstrapping. Once a node is running it will maintain a list of nodes it has established gossip with for subsequent startups.

The only disadvantage of having too many is that the proceedure for replacing nodes if they are seed nodes is slightly different:


Further background reading: (note some of the older docs although superceded sometimes do contain more lengthy explanations)

http://www.datastax.com/docs/1.0/cluster_architecture/gossip http://www.datastax.com/documentation/cassandra/1.2/cassandra/initialize/initializeMultipleDS.html

Respondido el 17 de enero de 15 a las 20:01

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.