-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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] Request _snapshot/repo/snapshot/_status returns wrong status #7952
Comments
probably here needs to add :
and this part must be re-written as:
|
Hey @uzhinskiy! Thanks for reporting the bug and the dive. |
@kotwanikunal I'm interested in contributing to this project as a good first issue. |
Thanks for the interest @Ayan07! This issue is open and ready to be picked up. Feel free to drop in any concerns/questions on this issue and someone will help you out. |
Hi @Ayan07, are you still working on this issue? If not, I could raise a PR with the fix. cc: @kotwanikunal |
Hi @kotwanikunal One query though -> I see this section in the code, where the comment says this behaviour would be changed in next major release. Since the main branch is on 3.x version now, is it okay to make the change now to the main branch?
|
Hey @aggarwalShivani! Thanks for the contribution. |
Describe the bug
The /_snapshot/repo/snapshot/_status returns snapshot.state=SUCCESS for snapshots that have failed shards and are actually in PARTIAL status.
To reproduce
curl https://endpoint:9200/_cat/snapshots/repo/
curl -ks https://endpoint:9200/_snapshot/repo/snap-2023.06.07/?pretty
curl -ks https://endpoint:9200/_snapshot/repo/snap-2023.06.07/_status?pretty
Expected behavior
The request must return the current snapshot status
Host/Environment (please complete the following information):
OS: Amazon Linux 2
The text was updated successfully, but these errors were encountered: