-
Notifications
You must be signed in to change notification settings - Fork 25.3k
Deprecate returning 408 for a server timeout on _cluster/health
#78180
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
Merged
arteam
merged 52 commits into
elastic:master
from
arteam:return-200-for-cluster-health-timeout
Oct 11, 2021
Merged
Changes from all commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
817c5d6
Return correct HTTP code for a server timeout on `_cluster/health`
arteam 17e6f94
Check that we return 200 even in a case of a timeout
arteam b3e8d6b
Update Rest API tests
arteam 3a572d4
Update client tests for server cluster health timeouts
arteam 4e8031d
Don't catch the request timeout in a security test
arteam 97499e7
Temporarily disable backward compatibility tests for 78180
arteam 28539e6
Return 408 REQUEST_TIMEOUT for ES7
arteam bd30be7
Mutes cluster health tests
arteam 642205b
cluster-health tests don't belong in x-pack
arteam 79a9687
Fix the name of the ignored compatibility tests
arteam 14d92a9
Disable BWC for #78180
arteam e1ad212
Merge branch 'master' into return-200-for-cluster-health-timeout
elasticmachine 0a55e0a
Merge branch 'master' into return-200-for-cluster-health-timeout
elasticmachine 231c884
Revert "Disable BWC for #78180"
arteam 8563df0
Merge branch 'master' into return-200-for-cluster-health-timeout
elasticmachine 21862d9
Skip bwc tests for the request timeout
arteam dcac23e
Add deprecation warning for a cluster health timeout
arteam 360cd87
Update deprecation message
arteam e455588
Return REQUEST_TIMEOUT for v7
arteam caaa3e3
Add a system property to opt out from returning 200 on cluster health…
arteam 6fecb02
Merge remote-tracking branch 'origin/master' into return-200-for-clus…
arteam 112a389
Ignore cluster health tests for rest compatibility
arteam 703f187
Skip security tests for cluster timeout
arteam a9cd29d
Make the ClusterHealthResponse change backward-compatible
arteam 0ce07db
The parameter should provide a way for a user to opt OUT from the new…
arteam fb7bee2
Remove rest api version check
arteam 68a0af7
Rollback 408 to 200 change
arteam 2744de5
Fix the deprecation message to use the opt in patameter
arteam f0a57e9
Add tests for deprecation messages
arteam bdf418c
Revert "Update client tests for server cluster health timeouts"
arteam 8554dc5
Fix checkstyle warning
arteam fec172e
Merge branch 'master' into return-200-for-cluster-health-timeout
elasticmachine b21cb5c
Accept only true for esClusterHealthRequestTimeout200
arteam 1a49a76
Satisfy checkstyle
arteam 09c4706
Update the variable holding the deprecation message
arteam 5578517
Add warning assertion
arteam b8d0986
Add a test for opting in for the 200 status code
arteam 4a8a733
Rename to readEsClusterHealthRequestTimeout200FromProperty
arteam 9bfea43
Update client/rest-high-level/src/test/java/org/elasticsearch/client/…
arteam 1805434
Extract the property name to a constant
arteam 7ec21b2
Reformat error message
arteam fcee4c5
Adapt the warning message with square brackets
arteam f3e9f26
Add the key prefix to the constant
arteam 721b396
Revert "Adapt the warning message with square brackets"
arteam e2ddfb2
Use brackets
arteam b005feb
Update the error message in ClusterHealthResponse
arteam 690f905
Merge branch 'master' into return-200-for-cluster-health-timeout
elasticmachine 6070668
Merge branch 'master' into return-200-for-cluster-health-timeout
arteam 8bcdab1
Add DeprecationLogger import
arteam 27dabc4
Update server/src/main/java/org/elasticsearch/action/admin/cluster/he…
arteam 5bb0135
Update the error message for ClusterClientIT
arteam 0208c54
Merge branch 'master' into return-200-for-cluster-health-timeout
elasticmachine File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.