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

[Backport 2.x] Backport remote publication stats #16699

Open himshikha opened 7 hours ago

himshikha commented 7 hours ago

Description

Backport for https://github.com/opensearch-project/OpenSearch/pull/16682

Automated backport failing with codecov, adding more tests in this PR.

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.

github-actions[bot] commented 6 hours ago

:grey_exclamation: Gradle check result for b1f0ef177c149498f10932afe96ff3a20f4e5926: 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.

codecov[bot] commented 6 hours ago

Codecov Report

Attention: Patch coverage is 68.14815% with 43 lines in your changes missing coverage. Please review.

Project coverage is 71.77%. Comparing base (674edb0) to head (b1f0ef1).

Files with missing lines Patch % Lines
...arch/gateway/remote/RemoteClusterStateService.java 70.96% 18 Missing and 18 partials :warning:
...nsearch/gateway/remote/RemotePersistenceStats.java 0.00% 4 Missing :warning:
...opensearch/gateway/remote/RemoteDownloadStats.java 40.00% 3 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## 2.x #16699 +/- ## ============================================ - Coverage 71.91% 71.77% -0.14% + Complexity 65434 65405 -29 ============================================ Files 5314 5314 Lines 305217 305242 +25 Branches 44474 44475 +1 ============================================ - Hits 219500 219099 -401 - Misses 67415 67860 +445 + Partials 18302 18283 -19 ```

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


🚨 Try these New Features: