-
Notifications
You must be signed in to change notification settings - Fork 24.7k
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
[REST API compatibility] special handling for _freeze #79861
Merged
Merged
Commits on Oct 26, 2021
-
Add back _freeze under rest api compatibility
We just always respond with a 400 bad request (even if you ask to freeze an index that doesn't actually exist).
Configuration menu - View commit details
-
Copy full SHA for 3fcd40f - Browse repository at this point
Copy the full SHA 3fcd40fView commit details -
404 on an index that doesn't exist, 410 on one that does exist.
Configuration menu - View commit details
-
Copy full SHA for 031aa70 - Browse repository at this point
Copy the full SHA 031aa70View commit details -
Squash merge branch 'move_xpack_prefix_testing-followup' into freeze-…
…rest-compatibility
Configuration menu - View commit details
-
Copy full SHA for 8ad3d61 - Browse repository at this point
Copy the full SHA 8ad3d61View commit details -
Configuration menu - View commit details
-
Copy full SHA for 882b022 - Browse repository at this point
Copy the full SHA 882b022View commit details -
Configuration menu - View commit details
-
Copy full SHA for a7d3cf6 - Browse repository at this point
Copy the full SHA a7d3cf6View commit details -
Need to skip this 7.16 test now
On 7.16 it fails with a 400 bad request because we don't allow this operation (semantically), on master it was failing with a 400 bad request because we removed the freeze endpoint entirely, so it happened to pass. Now that I have _freeze requests responding with 410 gone, this test is now failing, so we have to skip it. This surprised me a little at first, but I really do think this is all correct.
Configuration menu - View commit details
-
Copy full SHA for d436529 - Browse repository at this point
Copy the full SHA d436529View commit details -
Configuration menu - View commit details
-
Copy full SHA for c5c18e7 - Browse repository at this point
Copy the full SHA c5c18e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61cfa34 - Browse repository at this point
Copy the full SHA 61cfa34View commit details -
Configuration menu - View commit details
-
Copy full SHA for bf5c7a5 - Browse repository at this point
Copy the full SHA bf5c7a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29c3230 - Browse repository at this point
Copy the full SHA 29c3230View commit details -
Configuration menu - View commit details
-
Copy full SHA for 441a82d - Browse repository at this point
Copy the full SHA 441a82dView commit details
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.