Skip to content

Conversation

@gwbrown
Copy link
Contributor

@gwbrown gwbrown commented Mar 6, 2021

The node shutdown metadata is not hooked up to any APIs or logic as of this PR, this is just the data structures and associated tests.

Relates #70338

This is just a basic class to iterate on, plus tests.
Copy link
Member

@dakrone dakrone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM I left one minor comment, thanks Gordon

/**
* Contains data about a single node's shutdown readiness.
*/
public class SingleNodeShutdownMetadata extends AbstractDiffable<SingleNodeShutdownMetadata>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest we also add node_name to this, because the human readable name is probably the most handy way folks can reference the nodes

@gwbrown gwbrown added v7.13.0 v8.0.0 :Core/Infra/Core Core issues without another label and removed WIP labels Mar 22, 2021
@gwbrown gwbrown marked this pull request as ready for review March 22, 2021 23:47
@elasticmachine elasticmachine added the Team:Core/Infra Meta label for core/infra team label Mar 22, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

@gwbrown gwbrown requested a review from dakrone March 22, 2021 23:47
Copy link
Member

@dakrone dakrone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Gordon! I left some comments

@gwbrown gwbrown requested a review from dakrone March 24, 2021 20:18
@gwbrown gwbrown added :Core/Infra/Node Lifecycle Node startup, bootstrapping, and shutdown and removed :Core/Infra/Core Core issues without another label labels Mar 24, 2021
Copy link
Member

@dakrone dakrone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I left two really minor nits, but no need for another review!

@gwbrown gwbrown merged commit 9c78c00 into elastic:master Mar 25, 2021
@gwbrown gwbrown deleted the decom/metadata branch March 25, 2021 19:01
gwbrown added a commit that referenced this pull request Mar 29, 2021
The node shutdown metadata is not hooked up to any APIs or logic as of this PR, this is just the data structures and associated tests.
gwbrown added a commit to gwbrown/elasticsearch that referenced this pull request Mar 29, 2021
This commit updates the serialization verion used for node shutdown
metadata following the backport of elastic#70044.
gwbrown added a commit that referenced this pull request Mar 30, 2021
This commit updates the serialization verion used for node shutdown
metadata following the backport of #70044.

Also re-enables BWC tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Core/Infra/Node Lifecycle Node startup, bootstrapping, and shutdown >non-issue Team:Core/Infra Meta label for core/infra team v7.13.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants