-
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
[BUG] Improper status codes for snapshot executions #4687
Comments
I would like to work on this @Bukhtawar. Will the status code always be a |
@p1729 Thanks for offering to contribute. Below error codes should do. |
Signed-off-by: p1729 <pankajkumar1729@gmail.com>
Signed-off-by: p1729 <pankajkumar1729@gmail.com>
Hi @Bukhtawar, would like to work on this, I was going through the code & maybe I could resolve this. |
Thanks @baba-devv you could pick this up if @p1729 isn't still on it? |
@baba-devv By all means feel free to contribute! Please do submit separate PRs though, as it usually best not to group unrelated things together. If it is a small refactoring or cleanup feel free to submit a PR directly. If it is larger or worth some discussion, then start with an issue describing what you plan to do. |
@andrross understood, will try to keep things sorted, thanks. |
Hi @Bukhtawar, I would like to work on this issue. I see @baba-devv have resolved partially. I can take the remaining part namely RepositoryException(bucket not found) -> 404. Thanks in advance. cc: @andrross |
Hi @Bukhtawar , I'm interested to take up this issue. Thanks! |
Describe the bug
A missing S3 bucket for the snapshot results on a 500 its possible that the bucket has been deleted after association.
Then a concurrent snapshot exception is a 503
OpenSearch/server/src/main/java/org/opensearch/snapshots/ConcurrentSnapshotExecutionException.java
Lines 45 to 62 in 15161a8
Expected behavior
Errors which are client side misconfiguration or client side operations which aren't supported based on the system's concurrency specification should be a 4xx
The text was updated successfully, but these errors were encountered: