-
Notifications
You must be signed in to change notification settings - Fork 24.7k
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
Remove support for delaying state recovery pending master nodes #51806
Comments
Pinging @elastic/es-distributed (:Distributed/Cluster Coordination) |
We discussed this today and agreed that it will help to simplify this area, but this isn't on the roadmap yet so I'm marking it as |
@DaveCTurner I'm going to take a crack at this. |
Thanks @aldenpeffer, go ahead. Note that this'll take two PRs in sequence: the first to deprecate these settings and the second to remove them, and both should be opened against the |
It is useful to be able to delay state recovery until enough data nodes have joined the cluster, since this gives the shard allocator a decent opportunity to re-use as much existing data as possible. However we also have the option to delay state recovery until a certain number of master-eligible nodes have joined, and this is unnecessary: we require a majority of master-eligible nodes for state recovery, and there is no advantage in waiting for more. This commit deprecates the unnecessary settings in preparation for their removal. Relates #51806
It is useful to be able to delay state recovery until enough data nodes have joined the cluster, since this gives the shard allocator a decent opportunity to re-use as much existing data as possible. However we also have the option to delay state recovery until a certain number of master-eligible nodes have joined, and this is unnecessary: we require a majority of master-eligible nodes for state recovery, and there is no advantage in waiting for more. This commit deprecates the unnecessary settings in preparation for their removal. Relates #51806
This comment has been minimized.
This comment has been minimized.
Is this still open? Or was it fixed in #53845? Thanks! |
@DaveCTurner - Are we still planning to include this in 8.0 release? |
Yes, although #53845 appears to have stalled. |
It is useful to be able to delay state recovery until enough data nodes have joined the cluster, since this gives the shard allocator a decent opportunity to re-use as much existing data as possible. However we also have the option to delay state recovery until a certain number of master-eligible nodes have joined, and this seems unnecessary: we require a majority of master-eligible nodes for state recovery, but there is no advantage in waiting for more.
We should deprecate the following settings in
7.x
and remove them in8.0
:gateway.expected_nodes
gateway.expected_master_nodes
gateway.recover_after_nodes
gateway.recover_after_master_nodes
The text was updated successfully, but these errors were encountered: