-
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 <vinkrish.neo@gmail.com>
765852d
to
93e48ff
Compare
Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com>
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 <vinkrish.neo@gmail.com>
❌ 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 <vinkrish.neo@gmail.com>
Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com>
Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com>
❕ 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 <vinkrish.neo@gmail.com>
❌ 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 <vinkrish.neo@gmail.com>
❌ 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 <vinkrish.neo@gmail.com>
.../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 <vinkrish.neo@gmail.com>
Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com>
❌ 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 <vinkrish.neo@gmail.com>
❕ 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 <vinkrish.neo@gmail.com> * Updated changelog Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * Added unit tests for TransportSegmentReplicationStatsAction Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * fixed java style after running precommit locally Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * refined the test cases Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * fixed style issues Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * Made changes in the bytes to download calculation based on comments Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * added addReplicaStats method to SegmentReplicationPerGroupStats Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * fixed style issues Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * Fixed issue with immutable set Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * Fixed PR comments and moved the integration tests to separate module Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * Fixed failing integ tests Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * Fixed failing integ test Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * fixed some comments for PR Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * fixed failing tests Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> --------- Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> (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 <vinkrish.neo@gmail.com> * Updated changelog Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * Added unit tests for TransportSegmentReplicationStatsAction Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * fixed java style after running precommit locally Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * refined the test cases Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * fixed style issues Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * Made changes in the bytes to download calculation based on comments Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * added addReplicaStats method to SegmentReplicationPerGroupStats Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * fixed style issues Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * Fixed issue with immutable set Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * Fixed PR comments and moved the integration tests to separate module Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * Fixed failing integ tests Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * Fixed failing integ test Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * fixed some comments for PR Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * fixed failing tests Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> --------- Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> remove license Signed-off-by: Mingshi Liu <mingshl@amazon.com>
…roject#16678) * Added implementation for the stats calculation for search and regular replica in shards Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * Updated changelog Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * Added unit tests for TransportSegmentReplicationStatsAction Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * fixed java style after running precommit locally Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * refined the test cases Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * fixed style issues Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * Made changes in the bytes to download calculation based on comments Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * added addReplicaStats method to SegmentReplicationPerGroupStats Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * fixed style issues Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * Fixed issue with immutable set Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * Fixed PR comments and moved the integration tests to separate module Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * Fixed failing integ tests Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * Fixed failing integ test Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * fixed some comments for PR Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * fixed failing tests Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> --------- Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> remove license Signed-off-by: Mingshi Liu <mingshl@amazon.com>
) * 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 <vinkrish.neo@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 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.