Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explain that cockroach init must target the node(s) mentioned in --join lists #10342

Closed
knz opened this issue Apr 15, 2021 · 0 comments · Fixed by #10755
Closed

Explain that cockroach init must target the node(s) mentioned in --join lists #10342

knz opened this issue Apr 15, 2021 · 0 comments · Fixed by #10755
Assignees

Comments

@knz
Copy link
Contributor

knz commented Apr 15, 2021

See this issue: cockroachdb/cockroach#61621

If there are multiple nodes connecting together,

then an init command pointed to a node that's not listed in the --join list of other nodes will fail to initialize the cluster correctly.

The doc should have a call out that init should target a node that's listed in the --join list of all the other nodes.

(Or alternatively, a cluster can be initialized with just 1 node, and the other nodes added after initialization. In that case, the join flags are not restricted.)

cc @taroface

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants