opensearch-project / OpenSearch

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

[Backport 2.x] Fix stale index deletion in snapshots for hashed prefix path type #16637

Closed opensearch-trigger-bot[bot] closed 1 week ago

opensearch-trigger-bot[bot] commented 1 week ago

Backport 4cce608bffbef4978bfc2e13c91a9fe594f4cf2d from #16617.

github-actions[bot] commented 1 week ago

:grey_exclamation: Gradle check result for e78439afa140b4f2ee510f704adb8a5c5d13fb01: 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 1 week ago

Codecov Report

Attention: Patch coverage is 88.23529% with 4 lines in your changes missing coverage. Please review.

Project coverage is 71.76%. Comparing base (77231fb) to head (e78439a). Report is 1 commits behind head on 2.x.

Files with missing lines Patch % Lines
...ch/repositories/blobstore/BlobStoreRepository.java 88.88% 1 Missing and 2 partials :warning:
...a/org/opensearch/snapshots/SnapshotShardPaths.java 85.71% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## 2.x #16637 +/- ## ============================================ - Coverage 71.77% 71.76% -0.02% + Complexity 65400 65384 -16 ============================================ Files 5314 5314 Lines 305192 305209 +17 Branches 44467 44470 +3 ============================================ - Hits 219066 219033 -33 - Misses 67849 67913 +64 + Partials 18277 18263 -14 ```

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