Skip to content

Implementing batched deletions of stale ClusterMetadataManifests in RemoteClusterStateCleanupManager and adding configurable deletions timeouts - #20515

Closed
Pranshu-S wants to merge 17 commits into
opensearch-project:mainfrom
Pranshu-S:remote-state-cleanup-manager-batched-deletions-and-timeouts
Closed

Pranshu-S wants to merge 17 commits into
opensearch-project:mainfrom
Pranshu-S:remote-state-cleanup-manager-batched-deletions-and-timeouts

Adding tests for code coverage

4e8d43a
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Feb 6, 2026 in 1s

73.22% (target 70.00%)

View this Pull Request on Codecov

73.22% (target 70.00%)

Details

Codecov Report

❌ Patch coverage is 88.99083% with 12 lines in your changes missing coverage. Please review.
✅ Project coverage is 73.22%. Comparing base (93ae8db) to head (4e8d43a).
⚠️ Report is 12 commits behind head on main.

Files with missing lines Patch % Lines
...teway/remote/RemoteClusterStateCleanupManager.java 94.44% 3 Missing and 1 partial ⚠️
...rg/opensearch/repositories/s3/S3BlobContainer.java 72.72% 2 Missing and 1 partial ⚠️
.../routing/remote/NoopRemoteRoutingTableService.java 0.00% 2 Missing ⚠️
...ster/routing/remote/RemoteRoutingTableService.java 0.00% 2 Missing ⚠️
...earch/index/translog/transfer/TransferService.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main   #20515      +/-   ##
============================================
- Coverage     73.33%   73.22%   -0.11%     
+ Complexity    72125    72110      -15     
============================================
  Files          5798     5800       +2     
  Lines        329654   329814     +160     
  Branches      47491    47522      +31     
============================================
- Hits         241741   241521     -220     
- Misses        68504    68962     +458     
+ Partials      19409    19331      -78     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.