Skip to content

Conversation

@gwbrown
Copy link
Contributor

@gwbrown gwbrown commented Aug 16, 2021

This PR removes the Node Shutdown API feature flag.

The Node Shutdown API will now always be available.

Relates #70338

This PR removes the Node Shutdown API feature flag.

The Node Shutdown API will now always be available.
@gwbrown gwbrown added v8.0.0 :Core/Infra/Node Lifecycle Node startup, bootstrapping, and shutdown v7.15.0 labels Aug 16, 2021
@gwbrown gwbrown requested a review from dakrone August 16, 2021 23:17
@elasticmachine elasticmachine added the Team:Core/Infra Meta label for core/infra team label Aug 16, 2021
@elasticmachine
Copy link
Collaborator

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

@sethmlarson sethmlarson added the Team:Clients Meta label for clients team label Aug 16, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/clients-team (Team:Clients)

Copy link
Contributor

@sethmlarson sethmlarson left a comment

Choose a reason for hiding this comment

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

Approved for clients team

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, thanks Gordon

When I removed the feature flag, I assumed that we would always have the
Node Shutdown APIs, but that turns out not to be the case if xpack isn't
enabled. This case was caught by the logic to handle the case where the
feature flag wasn't enabled by accident.

This commit adds the check we always should have had.
@gwbrown gwbrown added auto-backport Automatically create backport pull requests when merged auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) labels Aug 18, 2021
@gwbrown
Copy link
Contributor Author

gwbrown commented Aug 18, 2021

Looks like the 7.15 build failed for the BWC checks.

@elasticmachine run elasticsearch-ci/bwc
@elasticmachine run elasticsearch-ci/part-2

@elasticsearchmachine elasticsearchmachine merged commit 0100e11 into elastic:master Aug 18, 2021
@elasticsearchmachine
Copy link
Collaborator

💔 Backport failed

Status Branch Result
7.15 Commit could not be cherrypicked due to conflicts
7.x Commit could not be cherrypicked due to conflicts

To backport manually run backport --upstream elastic/elasticsearch --pr 76588

gwbrown added a commit to gwbrown/elasticsearch that referenced this pull request Aug 18, 2021
* Remove Node Shutdown API feature flag

This PR removes the Node Shutdown API feature flag.

The Node Shutdown API will now always be available.

* Check if xpack is enabled in cleanup

When I removed the feature flag, I assumed that we would always have the
Node Shutdown APIs, but that turns out not to be the case if xpack isn't
enabled. This case was caught by the logic to handle the case where the
feature flag wasn't enabled by accident.

This commit adds the check we always should have had.

* Also check version before tyring cleanup
elasticsearchmachine pushed a commit that referenced this pull request Aug 18, 2021
* Remove Node Shutdown API feature flag (#76588)

* Remove Node Shutdown API feature flag

This PR removes the Node Shutdown API feature flag.

The Node Shutdown API will now always be available.

* Check if xpack is enabled in cleanup

When I removed the feature flag, I assumed that we would always have the
Node Shutdown APIs, but that turns out not to be the case if xpack isn't
enabled. This case was caught by the logic to handle the case where the
feature flag wasn't enabled by accident.

This commit adds the check we always should have had.

* Also check version before tyring cleanup

* Fix compilation for backport
gwbrown added a commit to gwbrown/elasticsearch that referenced this pull request Aug 18, 2021
This PR removes the Node Shutdown API feature flag.

The Node Shutdown API will now always be available.

* Also check version before tyring cleanup
gwbrown added a commit that referenced this pull request Aug 18, 2021
This PR removes the Node Shutdown API feature flag.

The Node Shutdown API will now always be available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) :Core/Infra/Node Lifecycle Node startup, bootstrapping, and shutdown >feature Team:Clients Meta label for clients team Team:Core/Infra Meta label for core/infra team v7.15.0 v7.16.0 v8.0.0-alpha2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants