-
Notifications
You must be signed in to change notification settings - Fork 470
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
Use init command in local cluster instructions? #2417
Comments
We updated a bunch of the
But I'm totally open to simplifying and using What are your preferences, @a-robinson? |
You can't (currently) use the We could change things so that the init command is always required even without the join flag. This would look nicer than the self-join currently required (and it eliminates the risk that a node restarts without the join flag and initializes a new cluster), but again it imposes an extra step on what was originally just I think it might be best if we recognize that single-node clusters are fairly different from multi-node clusters and introduce a new flag/command for them. |
The current arrangement seems reasonable. Emphasizing the difference between a single-node cluster and a multi-node one is worthwhile. Thanks for explaining.
I think there's something there, but changing flag defaults sounds annoying, and that adds the new failure mode of forgetting to change the replication configuration when you do decide to switch from a single node to multiple nodes. I'm going to close this since I don't think there's anything to be done to the docs, regardless. |
As was pointed out by a user in cockroachdb/cockroach#20241 (comment), we don't use the
init
command in our local cluster instructions:https://www.cockroachlabs.com/docs/stable/start-a-local-cluster.html
https://www.cockroachlabs.com/docs/stable/start-a-local-cluster-in-docker.html
Is there a reason why not other than just not having gotten around to it?
The text was updated successfully, but these errors were encountered: