-
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
Added support for search replica to return segrep stats #16678
Added support for search replica to return segrep stats #16678
Conversation
… replica in shards Signed-off-by: Vinay Krishna Pudyodu <[email protected]>
765852d
to
93e48ff
Compare
Signed-off-by: Vinay Krishna Pudyodu <[email protected]>
93e48ff
to
39576c3
Compare
❌ Gradle check result for 39576c3: null 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? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #16678 +/- ##
============================================
+ Coverage 72.11% 72.14% +0.03%
- Complexity 65237 65271 +34
============================================
Files 5318 5318
Lines 304003 304051 +48
Branches 43992 43990 -2
============================================
+ Hits 219228 219372 +144
+ Misses 66874 66702 -172
- Partials 17901 17977 +76 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Vinay Krishna Pudyodu <[email protected]>
❌ Gradle check result for 803c15b: 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? |
❌ Gradle check result for 803c15b: 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: Vinay Krishna Pudyodu <[email protected]>
Signed-off-by: Vinay Krishna Pudyodu <[email protected]>
Signed-off-by: Vinay Krishna Pudyodu <[email protected]>
❕ Gradle check result for d3a8a89: UNSTABLE Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure. |
Signed-off-by: Vinay Krishna Pudyodu <[email protected]>
❌ Gradle check result for 6944ce6: 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? |
❌ Gradle check result for 6944ce6: 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? |
❌ Gradle check result for 6944ce6: 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: Vinay Krishna Pudyodu <[email protected]>
❌ Gradle check result for 046e26c: 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: Vinay Krishna Pudyodu <[email protected]>
.../internalClusterTest/java/org/opensearch/indices/replication/SearchReplicaReplicationIT.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/opensearch/index/SegmentReplicationShardStats.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Vinay Krishna Pudyodu <[email protected]>
Signed-off-by: Vinay Krishna Pudyodu <[email protected]>
❌ Gradle check result for 424ad09: 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: Vinay Krishna Pudyodu <[email protected]>
❕ Gradle check result for 70cb875: UNSTABLE
Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure. |
* Added implementation for the stats calculation for search and regular replica in shards Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * Updated changelog Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * Added unit tests for TransportSegmentReplicationStatsAction Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * fixed java style after running precommit locally Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * refined the test cases Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * fixed style issues Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * Made changes in the bytes to download calculation based on comments Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * added addReplicaStats method to SegmentReplicationPerGroupStats Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * fixed style issues Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * Fixed issue with immutable set Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * Fixed PR comments and moved the integration tests to separate module Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * Fixed failing integ tests Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * Fixed failing integ test Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * fixed some comments for PR Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * fixed failing tests Signed-off-by: Vinay Krishna Pudyodu <[email protected]> --------- Signed-off-by: Vinay Krishna Pudyodu <[email protected]> (cherry picked from commit b67cdf4) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…roject#16678) * Added implementation for the stats calculation for search and regular replica in shards Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * Updated changelog Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * Added unit tests for TransportSegmentReplicationStatsAction Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * fixed java style after running precommit locally Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * refined the test cases Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * fixed style issues Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * Made changes in the bytes to download calculation based on comments Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * added addReplicaStats method to SegmentReplicationPerGroupStats Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * fixed style issues Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * Fixed issue with immutable set Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * Fixed PR comments and moved the integration tests to separate module Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * Fixed failing integ tests Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * Fixed failing integ test Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * fixed some comments for PR Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * fixed failing tests Signed-off-by: Vinay Krishna Pudyodu <[email protected]> --------- Signed-off-by: Vinay Krishna Pudyodu <[email protected]> remove license Signed-off-by: Mingshi Liu <[email protected]>
…roject#16678) * Added implementation for the stats calculation for search and regular replica in shards Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * Updated changelog Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * Added unit tests for TransportSegmentReplicationStatsAction Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * fixed java style after running precommit locally Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * refined the test cases Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * fixed style issues Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * Made changes in the bytes to download calculation based on comments Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * added addReplicaStats method to SegmentReplicationPerGroupStats Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * fixed style issues Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * Fixed issue with immutable set Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * Fixed PR comments and moved the integration tests to separate module Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * Fixed failing integ tests Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * Fixed failing integ test Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * fixed some comments for PR Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * fixed failing tests Signed-off-by: Vinay Krishna Pudyodu <[email protected]> --------- Signed-off-by: Vinay Krishna Pudyodu <[email protected]> remove license Signed-off-by: Mingshi Liu <[email protected]>
) * Added implementation for the stats calculation for search and regular replica in shards * Updated changelog * Added unit tests for TransportSegmentReplicationStatsAction * fixed java style after running precommit locally * refined the test cases * fixed style issues * Made changes in the bytes to download calculation based on comments * added addReplicaStats method to SegmentReplicationPerGroupStats * fixed style issues * Fixed issue with immutable set * Fixed PR comments and moved the integration tests to separate module * Fixed failing integ tests * Fixed failing integ test * fixed some comments for PR * fixed failing tests --------- (cherry picked from commit b67cdf4) Signed-off-by: Vinay Krishna Pudyodu <[email protected]> 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 this PR we are adding,
Related Issues
Resolves #15534
Related #15306
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.