Skip to content

Remove Node Shutdown API feature flag#76588

Merged
elasticsearchmachine merged 6 commits intoelastic:masterfrom
AthenaEryma:decom/remove-feature-flag
Aug 18, 2021
Merged

Remove Node Shutdown API feature flag#76588
elasticsearchmachine merged 6 commits intoelastic:masterfrom
AthenaEryma:decom/remove-feature-flag

Conversation

@AthenaEryma
Copy link
Copy Markdown
Contributor

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.
@AthenaEryma AthenaEryma added v8.0.0 :Core/Infra/Node Lifecycle Node startup, bootstrapping, and shutdown v7.15.0 labels Aug 16, 2021
@AthenaEryma AthenaEryma 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
Copy Markdown
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
Copy Markdown
Collaborator

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

Copy link
Copy Markdown
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
Copy Markdown
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.
@AthenaEryma AthenaEryma 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
@AthenaEryma
Copy link
Copy Markdown
Contributor Author

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
Copy Markdown
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

AthenaEryma added a commit to AthenaEryma/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
AthenaEryma added a commit to AthenaEryma/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
AthenaEryma 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