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

Feedback: cockroach start - incorrect statement about --join flag #18600

Closed
hand-crdb opened this issue May 28, 2024 · 0 comments
Closed

Feedback: cockroach start - incorrect statement about --join flag #18600

hand-crdb opened this issue May 28, 2024 · 0 comments
Assignees

Comments

@hand-crdb
Copy link

hand-crdb commented May 28, 2024

Steven Hand (hand-crdb) commented:

Page: https://cockroachlabs.com/docs/v24.1/cockroach-start.html

What is the reason for your feedback?

[ ] Missing the information I need

[ ] Too complicated

[ ] Out of date

[x] Something is broken

[ ] Other

Additional details

The page says, at the documentation for the --join flag:

cockroach start must be run with the --join flag. To start a single-node cluster, use cockroach start-single-node instead.

However, it is not required to specify the --join flag when running cockroach start. An example of running cockroach start without setting the --join flag can be seen on the same web page, at

https://www.cockroachlabs.com/docs/v24.1/cockroach-start#create-a-table-with-node-locality-information

In the example shown, the first of the three cockroach start commands does not specify the --join flag. Perhaps this freedom to not specify the --join flag only applies to the first node that is started.

BTW there is a minor typo elsewhere on this page. It says "nodes in on GCE" (my emph.):

Start each node on GCE with --locality set to describe its location, --locality-advertise-addr set to advertise its private address to other nodes in on GCE, --advertise-addr set to advertise its public address to nodes on AWS, and --join set to the public addresses of 3-5 of the initial nodes:

Jira Issue: DOC-10375

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

No branches or pull requests

2 participants