-
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
Snapshot _status API: Include in-progress snapshots in total shard count and index filter #16394
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #16394 +/- ##
============================================
- Coverage 72.05% 71.96% -0.09%
+ Complexity 64861 64793 -68
============================================
Files 5309 5309
Lines 302734 302785 +51
Branches 43733 43750 +17
============================================
- Hits 218134 217901 -233
- Misses 66731 67003 +272
- Partials 17869 17881 +12 ☔ View full report in Codecov by Sentry. |
160e8ed
to
2719b75
Compare
❌ Gradle check result for ef2af69: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
ef2af69
to
5146d60
Compare
❌ Gradle check result for 5146d60: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Flaky test #15807 |
❌ Gradle check result for 5146d60: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: Lakshya Taragi <lakshya.taragi@gmail.com>
Signed-off-by: Lakshya Taragi <lakshya.taragi@gmail.com>
Signed-off-by: Lakshya Taragi <lakshya.taragi@gmail.com>
Signed-off-by: Lakshya Taragi <lakshya.taragi@gmail.com>
Signed-off-by: Lakshya Taragi <lakshya.taragi@gmail.com>
Signed-off-by: Lakshya Taragi <lakshya.taragi@gmail.com>
5146d60
to
57cfd5f
Compare
...ava/org/opensearch/action/admin/cluster/snapshots/status/TransportSnapshotsStatusAction.java
Show resolved
Hide resolved
...ava/org/opensearch/action/admin/cluster/snapshots/status/TransportSnapshotsStatusAction.java
Show resolved
Hide resolved
...ava/org/opensearch/action/admin/cluster/snapshots/status/TransportSnapshotsStatusAction.java
Show resolved
Hide resolved
…unt and index filter (#16394) (#16411) (cherry picked from commit 6c7581e) Signed-off-by: Lakshya Taragi <lakshya.taragi@gmail.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
In [SnapshotV2] Snapshot Status API changes #15409,
snapshot.max_shards_allowed_in_status_api
dynamic cluster setting.We also need to extend the same to the shards contributed by running snapshots in the APIs response.
Added stricter checks for when to allow an index-filter (particular snapshot in a particular repository):
_all
value forrepository
orsnapshot
parameter of the API request_all
value for index parameter results to no index-filter at allIn case of index-filter and
ignore_unavailable
astrue
, the missing indices should be removed from the set of indices which ultimately comprise the final responseImproved the exception messages for clarity
Check List
API changes companion pull request created, if applicable.Public documentation issue/PR created, if applicable.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.