apache / apache/cassandra-ccm

Set first node added to cluster as a seed

Open
#243 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.2k
Forks
309
PR merge metrics
No merged PRs in 30d

Description

`ccm create test -b -i 127.0.1. -v 2.1.3Current cluster is now: test
01:30 PM:~/cstar/ccm[develop*]$ ccm add node1 -i 127.0.1.1 -j 7100 -b --binary-itf=127.0.1.1:9043
01:30 PM:~/cstar/ccm[develop*]$ ccm start`

This does not work because node1 is not set as a seed, so the cluster has no seeds. A workaround is to use `-s` in the add command, but ccm should be smart enough to know that this is the first node, and thus must be a seed.

The only caveat is if a user is planning to add multiple nodes in this way, but doesn't want the first one to be a seed.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.