I am starting my cockroachdb cluster by specifying two join flags as opposed to specifying only one join flag as mentioned in the github readme.
here is how I start my cluster:
cockroach start --store=/data0
cockroach start --store=/data1 --port=26258 --http-port=8081 --join=localhost:26257 --join=localhost:26259 &
cockroach start --store=/data2 --port=26259 --http-port=8082 --join=localhost:26257 --join=localhost:26258 &
The reason why I start with two join flags is that even if the first node fails to start, the second and third nodes can still join with each other as they form a majority.
This seems to be working well but I wanted to confirm if this is right and supported? and if yes, probably can mention in the readme.