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

improve description of --initial-cluster-state flag #15743

Closed
lavacat opened this issue Apr 19, 2023 · 2 comments
Closed

improve description of --initial-cluster-state flag #15743

lavacat opened this issue Apr 19, 2023 · 2 comments

Comments

@lavacat
Copy link

lavacat commented Apr 19, 2023

What would you like to be added?

Currently etcd -h show following description of --initial-cluster-state flag

  --initial-cluster-state 'new'
    Initial cluster state ('new' or 'existing').

But this poorly summarizes logic of bootsrapCluster.

  1. Description just repeats the name of the flag.
  2. The flag is only applicable when Wal doesn't exist/readonly, but that's never mentioned.
  3. Meaning of new and existing isn't clear.

Why is this needed?

I think folks are getting confused by the meaning of this flag. See #15705 (comment)

@sharathsivakumar
Copy link
Contributor

sharathsivakumar commented Apr 20, 2023

I am interested to work on this. @jmhbnz

ahrtr added a commit that referenced this issue Apr 22, 2023
fixes for "improve description of --initial-cluster-state flag" #15743
@lavacat
Copy link
Author

lavacat commented Apr 24, 2023

keeping the issue open to track backports #15752 (comment)

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

No branches or pull requests

3 participants