Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 2.x] Fix Shallow copy snapshot failures on closed index #16983

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 2eadf12 from #16868.

* Fix shallow v1 snapshot failures on closed index

Signed-off-by: Shubh Sahu <[email protected]>

* UT fix

Signed-off-by: Shubh Sahu <[email protected]>

* Adding UT

Signed-off-by: Shubh Sahu <[email protected]>

* small fix

Signed-off-by: Shubh Sahu <[email protected]>

* Addressing comments

Signed-off-by: Shubh Sahu <[email protected]>

* Addressing comments

Signed-off-by: Shubh Sahu <[email protected]>

* Modifying IT to restore snapshot

Signed-off-by: Shubh Sahu <[email protected]>

---------

Signed-off-by: Shubh Sahu <[email protected]>
Co-authored-by: Shubh Sahu <[email protected]>
(cherry picked from commit 2eadf12)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Copy link
Contributor

github-actions bot commented Jan 9, 2025

✅ Gradle check result for 46aaafb: SUCCESS

Copy link

codecov bot commented Jan 9, 2025

Codecov Report

Attention: Patch coverage is 53.84615% with 24 lines in your changes missing coverage. Please review.

Project coverage is 71.85%. Comparing base (8a17b8a) to head (46aaafb).
Report is 3 commits behind head on 2.x.

Files with missing lines Patch % Lines
...rg/opensearch/snapshots/SnapshotShardsService.java 59.37% 13 Missing ⚠️
...ch/repositories/blobstore/BlobStoreRepository.java 53.84% 5 Missing and 1 partial ⚠️
...in/java/org/opensearch/index/shard/IndexShard.java 33.33% 2 Missing and 2 partials ⚠️
...n/java/org/opensearch/repositories/Repository.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##                2.x   #16983   +/-   ##
=========================================
  Coverage     71.85%   71.85%           
- Complexity    65507    65591   +84     
=========================================
  Files          5316     5316           
  Lines        305588   305619   +31     
  Branches      44516    44522    +6     
=========================================
+ Hits         219572   219615   +43     
- Misses        67674    67714   +40     
+ Partials      18342    18290   -52     

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

@ashking94 ashking94 merged commit afb2f94 into 2.x Jan 9, 2025
59 of 61 checks passed
@github-actions github-actions bot deleted the backport/backport-16868-to-2.x branch January 9, 2025 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant