-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Deprecate and ignore join timeout #60872
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
Deprecate and ignore join timeout #60872
Conversation
There is no point in timing out a join attempt any more once a cluster is entirely in 7.x. Timing out and retrying with the same master is pointless, and an in-flight join attempt to one master no longer blocks attempts to join other masters. This commit deprecates this unnecessary setting and removes its effect from the joining process.
|
Pinging @elastic/es-distributed (:Distributed/Cluster Coordination) |
There is no point in timing out a join attempt any more. Timing out and retrying with the same master is pointless, and an in-flight join attempt to one master no longer blocks attempts to join other masters. This commit removes this unnecessary setting. Relates elastic#60872 in which this setting was deprecated.
|
NB this PR is against |
| public static final String VALIDATE_JOIN_ACTION_NAME = "internal:cluster/coordination/join/validate"; | ||
| public static final String START_JOIN_ACTION_NAME = "internal:cluster/coordination/start_join"; | ||
|
|
||
| // the timeout for each join attempt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We probably don't need this for Zen1 joining too, although there's some complexity with the process of bootstrapping the cluster during a rolling upgrade. Rather than spend any time on the analysis I decided to leave the behaviour in mixed-version clusters alone.
ywelsch
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
@elasticmachine please run elasticsearch-ci/1 (looks like a transient (?) Gradle (?) issue) |
There is no point in timing out a join attempt any more. Timing out and retrying with the same master is pointless, and an in-flight join attempt to one master no longer blocks attempts to join other masters. This commit removes this unnecessary setting. Relates #60872 in which this setting was deprecated.
There is no point in timing out a join attempt any more once a cluster
is entirely in 7.x. Timing out and retrying with the same master is
pointless, and an in-flight join attempt to one master no longer blocks
attempts to join other masters. This commit deprecates this unnecessary
setting and removes its effect from the joining process.
Relates #60873 which removes this setting in
master.