Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return 200 OK response code for a cluster health timeout #78968

Merged
merged 52 commits into from
Nov 6, 2021

Conversation

arteam
Copy link
Contributor

@arteam arteam commented Oct 12, 2021

Returning 408 for a cluster health timeout was deprecated in #78180 and backported to 7.x in #78940

Now we can do a breaking change in 8.0 respecting the user choice to run ES in 7.x compatible mode via the REST Compatibility layer.

Fixes #70849

@arteam arteam force-pushed the return-200-for-cluster-health-8.0 branch 2 times, most recently from 33d4fb1 to d157f81 Compare October 12, 2021 09:30
@arteam arteam force-pushed the return-200-for-cluster-health-8.0 branch 2 times, most recently from 567ad8d to af91a12 Compare October 12, 2021 17:08
@arteam arteam force-pushed the return-200-for-cluster-health-8.0 branch from af91a12 to 7e78762 Compare October 12, 2021 17:10
@arteam arteam marked this pull request as ready for review October 13, 2021 08:39
@arteam arteam added the :Distributed Indexing/CRUD A catch all label for issues around indexing, updating and getting a doc by id. Not search. label Oct 13, 2021
@elasticmachine elasticmachine added the Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. label Oct 13, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

@arteam arteam changed the title Return 200 for cluster health timeout Return 200 OK response code for a cluster health timeout Oct 13, 2021
@arteam arteam marked this pull request as draft October 13, 2021 10:45
@arteam arteam marked this pull request as ready for review October 13, 2021 14:56
@arteam
Copy link
Contributor Author

arteam commented Oct 14, 2021

@elasticmachine update branch

@arteam arteam marked this pull request as draft October 19, 2021 13:31
arteam added a commit to arteam/elasticsearch that referenced this pull request Nov 5, 2021
…ut parameter (elastic#80178)

It will be deprecated in elastic#78968, but first we need to backport the allow_warning
change to 7.16 and 8.0 in order to not break BWC
arteam added a commit to arteam/elasticsearch that referenced this pull request Nov 5, 2021
…ut parameter (elastic#80178)

It will be deprecated in elastic#78968, but first we need to backport the allow_warning
change to 7.16 and 8.0 in order to not break BWC
arteam added a commit that referenced this pull request Nov 5, 2021
…ut parameter (#80178) (#80445)

It will be deprecated in #78968, but first we need to backport the allow_warning
change to 7.16 and 8.0 in order to not break BWC
arteam added a commit that referenced this pull request Nov 5, 2021
…ut parameter (#80178) (#80444)

It will be deprecated in #78968, but first we need to backport the allow_warning
change to 7.16 and 8.0 in order to not break BWC
@arteam arteam force-pushed the return-200-for-cluster-health-8.0 branch from 392b663 to 05a2eea Compare November 6, 2021 12:06
@arteam arteam added the auto-backport Automatically create backport pull requests when merged label Nov 6, 2021
@arteam
Copy link
Contributor Author

arteam commented Nov 6, 2021

@elasticmachine update branch

@arteam arteam merged commit a2c3dae into elastic:master Nov 6, 2021
@arteam arteam deleted the return-200-for-cluster-health-8.0 branch November 6, 2021 18:46
arteam added a commit to arteam/elasticsearch that referenced this pull request Nov 6, 2021
Returning 408 for a cluster health timeout was deprecated in elastic#78180 and backported to 7.x in elastic#78940

Now we can do a breaking change in 8.0 respecting the user choice to run ES in 7.x compatible mode via the REST Compatibility layer.

Fixes elastic#70849
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.0

arteam added a commit that referenced this pull request Nov 8, 2021
…0464)

Returning 408 for a cluster health timeout was deprecated in #78180 and backported to 7.x in #78940

Now we can do a breaking change in 8.0 respecting the user choice to run ES in 7.x compatible mode via the REST Compatibility layer.

Fixes #70849
arteam added a commit to arteam/elasticsearch that referenced this pull request Nov 18, 2021
arteam added a commit to arteam/elasticsearch that referenced this pull request Nov 18, 2021
arteam added a commit that referenced this pull request Nov 18, 2021
#78968)" (#80826)

* [8.0] Revert "Return 200 OK response code for a cluster health timeout (#78968)"

This reverts commit a2c3dae

* Revert "Allow deprecation warning for the return_200_for_cluster_health_timeout parameter (#80178) (#80444)"

This reverts commit 4102cf7.

* Revert "Drop pre-7.2.0 wire format in ClusterHealthRequest (#79551)"

This reverts commit b9fbe66.

* Revert "Adjust the BWC version for the return200ForClusterHealthTimeout field (#79436)"

This reverts commit f60bda5.

* Revert "Use query param instead of a system property for opting in for new cluster health response code (#79351)"

This reverts commit 8901a99

* Revert "Deprecate returning 408 for a server timeout on `_cluster/health` (#78180)"

This reverts commit f266eb3

* Drop pre-7.2.0 wire format in ClusterHealthRequest (#79551)

This reverts commit fa4d562.

* Revert "[8.0] Disable BWC for #80821 (#80840)"
arteam added a commit that referenced this pull request Nov 18, 2021
)" (#80821)

* Revert "Return 200 OK response code for a cluster health timeout (#78968)"

This reverts commit a2c3dae

* Revert "Allow deprecation warning for the return_200_for_cluster_health_timeout parameter (#80178)"

This reverts commit 1c711e3.

* Revert "Drop pre-7.2.0 wire format in ClusterHealthRequest (#79551)"

This reverts commit b9fbe66.

* Revert "Adjust the BWC version for the return200ForClusterHealthTimeout field (#79436)"

This reverts commit f60bda5.

* Revert "Use query param instead of a system property for opting in for new cluster health response code (#79351)"

This reverts commit 8901a99

* Revert "Deprecate returning 408 for a server timeout on `_cluster/health` (#78180)"

This reverts commit f266eb3

* Drop pre-7.2.0 wire format in ClusterHealthRequest (#79551)

This reverts commit fa4d562

* Revert "Disable BWC for #80821 (#80839)"

This reverts commit cb0e73e.

Co-authored-by: Elastic Machine <[email protected]>
@arteam arteam removed the v8.0.0 label Jan 12, 2022
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 >breaking :Distributed Indexing/CRUD A catch all label for issues around indexing, updating and getting a doc by id. Not search. Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix HTTP response code for cluster health API
6 participants