opensearch-project / OpenSearch

🔎 Open source distributed and RESTful search engine.
https://opensearch.org/docs/latest/opensearch/index/
Apache License 2.0
9.83k stars 1.83k forks source link

Added support for search replica to return segrep stats #16678

Open vinaykpud opened 3 days ago

vinaykpud commented 3 days ago

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.

github-actions[bot] commented 3 days ago

:x: Gradle check result for 39576c383ee22504c1f4f6085ecc1393539722dc: 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?

github-actions[bot] commented 2 days ago

:white_check_mark: Gradle check result for 39576c383ee22504c1f4f6085ecc1393539722dc: SUCCESS

codecov[bot] commented 2 days ago

Codecov Report

Attention: Patch coverage is 4.76190% with 60 lines in your changes missing coverage. Please review.

Project coverage is 72.04%. Comparing base (3b4fa0e) to head (39576c3). Report is 11 commits behind head on main.

Files with missing lines Patch % Lines
...cation/TransportSegmentReplicationStatsAction.java 0.00% 44 Missing :warning:
...lication/SegmentReplicationShardStatsResponse.java 0.00% 10 Missing :warning:
...opensearch/index/SegmentReplicationShardStats.java 0.00% 3 Missing :warning:
...nsearch/index/SegmentReplicationPerGroupStats.java 0.00% 2 Missing :warning:
...h/indices/replication/SegmentReplicationState.java 66.66% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #16678 +/- ## ============================================ - Coverage 72.11% 72.04% -0.07% - Complexity 65192 65196 +4 ============================================ Files 5318 5318 Lines 303903 303967 +64 Branches 43970 43980 +10 ============================================ - Hits 219166 219003 -163 - Misses 66786 67042 +256 + Partials 17951 17922 -29 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


🚨 Try these New Features: