Skip to content

[7.x] Add target_node_name for REPLACE shutdown type (#77151)#77278

Merged
AthenaEryma merged 5 commits intoelastic:7.xfrom
AthenaEryma:backport/7.x/pr-77151
Sep 7, 2021
Merged

[7.x] Add target_node_name for REPLACE shutdown type (#77151)#77278
AthenaEryma merged 5 commits intoelastic:7.xfrom
AthenaEryma:backport/7.x/pr-77151

Conversation

@AthenaEryma
Copy link
Copy Markdown
Contributor

Backports the following commits to 7.x:

This commit extends the `REPLACE` shutdown type to support a new
`target_node_name` field, which will control the node used to replace
the one that is to shut down. However, only the data layer is present as
of this PR.

Also adjusts the serialization/deserialization for the REPLACE type to
handle mixed-version clusters.
@AthenaEryma AthenaEryma added auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport labels Sep 3, 2021
@AthenaEryma AthenaEryma removed the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Sep 3, 2021
This commit fixes the randomization in MlNodeShutdownIT to ensure that
the required values for the selected shutdown type are all present.
Co-authored-by: David Roberts <dave.roberts@elastic.co>
@AthenaEryma
Copy link
Copy Markdown
Contributor Author

@elasticmachine update branch

@AthenaEryma AthenaEryma merged commit f586405 into elastic:7.x Sep 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants