Skip to content

Repair history write aliases after a snapshot restore - #2312

Merged
lezzago merged 3 commits into
opensearch-project:mainfrom
sharathkanaka:dr-history-write-alias-on-restore
Oct 30, 2026
Merged

lezzago merged 3 commits into
opensearch-project:mainfrom
sharathkanaka:dr-history-write-alias-on-restore

Repair history write aliases on each rollover and respect is_write_in…

bfffd69
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project failed Oct 30, 2026 in 0s

67.82% (target 70.00%)

View this Pull Request on Codecov

67.82% (target 70.00%)

Details

Codecov Report

❌ Patch coverage is 86.44068% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 67.82%. Comparing base (778e7ce) to head (bfffd69).
⚠️ Report is 255 commits behind head on main.

Files with missing lines Patch % Lines
...n/org/opensearch/alerting/util/WriteAliasRepair.kt 90.24% 2 Missing and 2 partials ⚠️
...rg/opensearch/alerting/comments/CommentsIndices.kt 40.00% 3 Missing ⚠️
...lin/org/opensearch/alerting/alerts/AlertIndices.kt 83.33% 0 Missing and 1 partial ⚠️

❌ Your project check has failed because the head coverage (67.82%) is below the target coverage (70.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #2312      +/-   ##
============================================
+ Coverage     67.72%   67.82%   +0.09%     
- Complexity      105     1815    +1710     
============================================
  Files           160      170      +10     
  Lines         10343    14322    +3979     
  Branches       1522     2090     +568     
============================================
+ Hits           7005     9714    +2709     
- Misses         2672     3729    +1057     
- Partials        666      879     +213     

☔ View full report in Codecov by Harness.
📢 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.