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

Warn user if bootstrap_exepect is set to an even number #12957

Closed
lgfa29 opened this issue May 11, 2022 · 1 comment · Fixed by #12961
Closed

Warn user if bootstrap_exepect is set to an even number #12957

lgfa29 opened this issue May 11, 2022 · 1 comment · Fixed by #12961

Comments

@lgfa29
Copy link
Contributor

lgfa29 commented May 11, 2022

Proposal

bootstrap_expect determines how many servers are required to initiate a cluster. It's recommended that this value be an odd number (usually 3 or 5) to avoid split-bran scenarios that could lead to loss of leadership.

Since we know there are potential problems with setting this value as an even number, Nomad should warn users to avoid using these values. This is particularly troublesome for new users, as they may not be aware of this.

In a future release this could even prevent the agent from even starting, but starting with a warning helps maintain backwards compatibility.

Use-cases

Help prevent users (specially new users) from starting Nomad with potentially risky configuration values.

Attempted Solutions

N/A

@github-actions
Copy link

github-actions bot commented Oct 7, 2022

I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant