Remove support for delaying state recovery pending master#53845
Remove support for delaying state recovery pending master#53845DaveCTurner merged 17 commits intoelastic:masterfrom
Conversation
Co-Authored-By: David Turner <david.turner@elastic.co>
|
Pinging @elastic/es-distributed (:Distributed/Cluster Coordination) |
|
@elasticmachine test this please |
DaveCTurner
left a comment
There was a problem hiding this comment.
Thanks @ShawnLi1014. Before I dive into the code in detail, there's a couple of points for the docs:
- would you document this change in docs/reference/migration/migrate_8_0/settings.asciidoc since it's a breaking change? Note the settings that were removed and name the settings that users should use instead.
- the docs themselves deserve a bit more of an overhaul, since there's now only one
expected_setting and onerecover_after_. I think we can explain what they do a bit more clearly now that we don't have to account for people using some combination of all the different settings.
You can see a preview of the docs here: http://elasticsearch_53845.docs-preview.app.elstc.co/guide/en/elasticsearch/reference/master/modules-gateway.html which hopefully helps.
I think an example would be useful too. See the end of docs/reference/setup/important-settings/discovery-settings.asciidoc for an example of the syntax for a YAML example with callouts to explain each part. Would you add an example?
I'll help with the details of the docs at a later date if needed.
|
Also note the check style failure from CI: |
|
@ShawnLi1014 how are you getting on with addressing the review comments? |
Sry for the delay. I have committed the changes, please take a look. If there's anything need to be improved please let me know |
|
@elasticmachine ok to test |
|
Thanks for your patience here @ShawnLi1014. I've brought this branch up to date with recent changes in |
|
@ShawnLi1014 are you still interested in working on this? |
This commit removes the following deprecated settings in v8: - `gateway.expected_nodes` - `gateway.expected_master_nodes` - `gateway.recover_after_nodes` - `gateway.recover_after_master_nodes` Co-authored-by: ShawnLi1014 <shawnli1014@gmail.com>
|
I opened #68316 for the failure. @elasticmachine please run elasticsearch-ci/1 |
We deprecated the following settings in 7.7 with PR #53646: * `gateway.expected_nodes` * `gateway.expected_master_nodes` * `gateway.recover_after_nodes` * `gateway.recover_after_master_nodes` However, we didn't add a related item to the 7.7 deprecation docs. This adds the missing item. Relates to #53845.
…) (#77951) We deprecated the following settings in 7.7 with PR #53646: * `gateway.expected_nodes` * `gateway.expected_master_nodes` * `gateway.recover_after_nodes` * `gateway.recover_after_master_nodes` However, we didn't add a related item to the 7.7 deprecation docs. This adds the missing item. Relates to #53845.
…) (#77952) We deprecated the following settings in 7.7 with PR #53646: * `gateway.expected_nodes` * `gateway.expected_master_nodes` * `gateway.recover_after_nodes` * `gateway.recover_after_master_nodes` However, we didn't add a related item to the 7.7 deprecation docs. This adds the missing item. Relates to #53845.
…) (#77953) We deprecated the following settings in 7.7 with PR #53646: * `gateway.expected_nodes` * `gateway.expected_master_nodes` * `gateway.recover_after_nodes` * `gateway.recover_after_master_nodes` However, we didn't add a related item to the 7.7 deprecation docs. This adds the missing item. Relates to #53845.
…) (#77958) We deprecated the following settings in 7.7 with PR #53646: * `gateway.expected_nodes` * `gateway.expected_master_nodes` * `gateway.recover_after_nodes` * `gateway.recover_after_master_nodes` However, we didn't add a related item to the 7.7 deprecation docs. This adds the missing item. Relates to #53845.
…) (#77954) We deprecated the following settings in 7.7 with PR #53646: * `gateway.expected_nodes` * `gateway.expected_master_nodes` * `gateway.recover_after_nodes` * `gateway.recover_after_master_nodes` However, we didn't add a related item to the 7.7 deprecation docs. This adds the missing item. Relates to #53845.
…) (#77956) We deprecated the following settings in 7.7 with PR #53646: * `gateway.expected_nodes` * `gateway.expected_master_nodes` * `gateway.recover_after_nodes` * `gateway.recover_after_master_nodes` However, we didn't add a related item to the 7.7 deprecation docs. This adds the missing item. Relates to #53845.
…) (#77955) We deprecated the following settings in 7.7 with PR #53646: * `gateway.expected_nodes` * `gateway.expected_master_nodes` * `gateway.recover_after_nodes` * `gateway.recover_after_master_nodes` However, we didn't add a related item to the 7.7 deprecation docs. This adds the missing item. Relates to #53845.
…) (#77957) We deprecated the following settings in 7.7 with PR #53646: * `gateway.expected_nodes` * `gateway.expected_master_nodes` * `gateway.recover_after_nodes` * `gateway.recover_after_master_nodes` However, we didn't add a related item to the 7.7 deprecation docs. This adds the missing item. Relates to #53845.
…) (#77959) We deprecated the following settings in 7.7 with PR #53646: * `gateway.expected_nodes` * `gateway.expected_master_nodes` * `gateway.recover_after_nodes` * `gateway.recover_after_master_nodes` However, we didn't add a related item to the 7.7 deprecation docs. This adds the missing item. Relates to #53845.
The following settings are deprecated:
gateway.expected_nodesgateway.expected_master_nodesgateway.recover_after_nodesgateway.recover_after_master_nodesThis pull request removed these settings.
Closes #51806