Skip to content

[Backport 2.x] Add support for async deletion in S3BlobContainer (#15621)#16013

Merged
ashking94 merged 1 commit intoopensearch-project:2.xfrom
ashking94:backport-15621
Sep 22, 2024
Merged

[Backport 2.x] Add support for async deletion in S3BlobContainer (#15621)#16013
ashking94 merged 1 commit intoopensearch-project:2.xfrom
ashking94:backport-15621

Conversation

@ashking94
Copy link
Copy Markdown
Member

Backport 2b670cc from #15621.

…#15621)

* Add support for async deletion in S3BlobContainer

Signed-off-by: Ashish Singh <ssashish@amazon.com>

* Move helper methods to helper class

Signed-off-by: Ashish Singh <ssashish@amazon.com>

* Minor refactor

Signed-off-by: Ashish Singh <ssashish@amazon.com>

* Add UTs

Signed-off-by: Ashish Singh <ssashish@amazon.com>

* Add more tests

Signed-off-by: Ashish Singh <ssashish@amazon.com>

* Integrate async deletion in the snapshot interactions

Signed-off-by: Ashish Singh <ssashish@amazon.com>

---------

Signed-off-by: Ashish Singh <ssashish@amazon.com>
@github-actions
Copy link
Copy Markdown
Contributor

❌ Gradle check result for b810ec8: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@github-actions
Copy link
Copy Markdown
Contributor

❌ Gradle check result for b810ec8: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@github-actions
Copy link
Copy Markdown
Contributor

❕ Gradle check result for b810ec8: 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
Copy link
Copy Markdown

codecov bot commented Sep 21, 2024

Codecov Report

Attention: Patch coverage is 82.96296% with 23 lines in your changes missing coverage. Please review.

Project coverage is 71.58%. Comparing base (448ae5e) to head (b810ec8).
Report is 7 commits behind head on 2.x.

Files with missing lines Patch % Lines
...ch/repositories/blobstore/BlobStoreRepository.java 42.85% 14 Missing and 2 partials ⚠️
...bstore/AsyncMultiStreamEncryptedBlobContainer.java 0.00% 4 Missing ⚠️
...rg/opensearch/repositories/s3/S3BlobContainer.java 97.01% 1 Missing and 1 partial ⚠️
...rch/repositories/s3/async/S3AsyncDeleteHelper.java 97.14% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                2.x   #16013      +/-   ##
============================================
- Coverage     71.77%   71.58%   -0.20%     
+ Complexity    64687    64629      -58     
============================================
  Files          5277     5278       +1     
  Lines        302344   302476     +132     
  Branches      43993    44002       +9     
============================================
- Hits         217003   216521     -482     
- Misses        67223    67840     +617     
+ Partials      18118    18115       -3     

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants