-
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
[Backport 2.x] Implementing pagination for _cat/shards (#14641) #16396
[Backport 2.x] Implementing pagination for _cat/shards (#14641) #16396
Conversation
* Adding _list/shards API Signed-off-by: Harsh Garg <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 2.x #16396 +/- ##
============================================
- Coverage 71.81% 71.79% -0.03%
- Complexity 65052 65158 +106
============================================
Files 5305 5307 +2
Lines 304143 304341 +198
Branches 44231 44270 +39
============================================
+ Hits 218418 218489 +71
- Misses 67527 67661 +134
+ Partials 18198 18191 -7 ☔ View full report in Codecov by Sentry. |
catShardsRequest.setCancelAfterTimeInterval(TimeValue.timeValueMillis(randomIntBetween(1, 5))); | ||
catShardsRequest.setIndices(new String[2]); | ||
|
||
Version version = VersionUtils.getPreviousVersion(Version.CURRENT); |
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.
This should be Version.V_2_18_0
else the test fails.
Description
Manually backporting #14641 to 2.x.
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.