What are seed nodes in Cassandra and what role do they play?
Last updated
Seed nodes are designated nodes a new or restarting node contacts first to learn about the cluster and bootstrap the gossip process. They are a discovery mechanism only, not masters and not special for data ownership.
Bootstrap gossip: A joining node connects to seeds listed in
cassandra.yamlto obtain the current topology and cluster state, then gossips with everyone.Not a master or coordinator: Seeds store and serve data like any other node; they carry no extra authority.
Best practices:
Use multiple seeds (commonly 2-3 per DC) for resilience.
Keep the seed list consistent across nodes.
Seed nodes do not auto-bootstrap when first added, so don't make a brand-new node a seed while expanding the cluster.
- https://cassandra.apache.org/_/cassandra-basics.html
- https://docs.datastax.com/en/dse/6.9/planning/set-seed-nodes-for-single-datacenter.html
- https://www.simplified.guide/apache-cassandra/seed-node-set
- https://cassandra.apache.org/doc/latest/cassandra/overview/faq/index.html
- https://www.ibm.com/docs/es/npi/1.3.1?topic=cluster-setting-up-cassandra-seed-nodes
- https://cassandra.apache.org/doc/3.11/cassandra/architecture/dynamo.html
- https://muhamedabdalla.hashnode.dev/cassandras-gossip-protocol
- https://medium.com/@swarnimsinghal/implementing-cassandras-gossip-protocol-part-1-b9fd161e5f49