-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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 409 Conflict HTTP status instead of 503 on failure to concurre… #8986
Conversation
…ntly execute snapshots Signed-off-by: Mani <singh.mani1231@gmail.com> Return 409 Conflict HTTP status instead of 500 on failure to concurrently execute snapshots Signed-off-by: Mani <singh.mani1231@gmail.com> another
Gradle Check (Jenkins) Run Completed with:
|
Codecov Report
@@ Coverage Diff @@
## main #8986 +/- ##
============================================
+ Coverage 71.10% 71.17% +0.07%
- Complexity 57415 57474 +59
============================================
Files 4775 4775
Lines 270700 270700
Branches 39566 39566
============================================
+ Hits 192483 192680 +197
+ Misses 62066 61878 -188
+ Partials 16151 16142 -9
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the change and adding a test.
Seems like a reasonable change to me!
Do we have to update docs and clients for precise error handling?
The change for public API status code could be considered a breaking change (unless this is a indeed the bug), the documentation definitely needs an update. |
Yep, we are only considering this for |
…ntly execute snapshots Signed-off-by: Mani <singh.mani1231@gmail.com>
@dblock what should my next steps be for this ? |
Compatibility status:
|
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Will merge as soon as I have a green build. |
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Compatibility status:
|
Gradle Check (Jenkins) Run Completed with:
|
…ntly execute snapshots (opensearch-project#8986) Signed-off-by: Mani <singh.mani1231@gmail.com> Return 409 Conflict HTTP status instead of 500 on failure to concurrently execute snapshots Signed-off-by: Mani <singh.mani1231@gmail.com> another Signed-off-by: Mani <singh.mani1231@gmail.com> Signed-off-by: Daniel (dB.) Doubrovkine <dblock@amazon.com> Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
…ntly execute snapshots (opensearch-project#8986) Signed-off-by: Mani <singh.mani1231@gmail.com> Return 409 Conflict HTTP status instead of 500 on failure to concurrently execute snapshots Signed-off-by: Mani <singh.mani1231@gmail.com> another Signed-off-by: Mani <singh.mani1231@gmail.com> Signed-off-by: Daniel (dB.) Doubrovkine <dblock@amazon.com> Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com> Signed-off-by: Ivan Brusic <ivan.brusic@flocksafety.com>
…ntly execute snapshots (opensearch-project#8986) Signed-off-by: Mani <singh.mani1231@gmail.com> Return 409 Conflict HTTP status instead of 500 on failure to concurrently execute snapshots Signed-off-by: Mani <singh.mani1231@gmail.com> another Signed-off-by: Mani <singh.mani1231@gmail.com> Signed-off-by: Daniel (dB.) Doubrovkine <dblock@amazon.com> Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com> Signed-off-by: Shivansh Arora <hishiv@amazon.com>
Signed-off-by: Mani singh.mani1231@gmail.com
Return 409 Conflict HTTP status instead of 500 on failure to concurrently execute snapshots
Description
[Describe what this change achieves]
Related Issues
Resolves #[Issue number to be closed when this PR is merged]
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.