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

Improve retry handling for s3 transfers #171

Merged
merged 2 commits into from
Mar 1, 2024
Merged

Conversation

exg
Copy link
Contributor

@exg exg commented Feb 29, 2024

No description provided.

exg added 2 commits February 29, 2024 21:22
This commit changes the Boto3 s3 client to use the standard retry
mode, as it is better than the default legacy one, and increases the
maximum number of attempts, as it is only 3 by default.
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 56.25000% with 7 lines in your changes are missing coverage. Please review.

Project coverage is 72.61%. Comparing base (66ef7db) to head (24d4c81).

Files Patch % Lines
rohmu/object_storage/s3.py 56.25% 7 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #171      +/-   ##
==========================================
- Coverage   72.64%   72.61%   -0.04%     
==========================================
  Files          36       36              
  Lines        4058     4053       -5     
==========================================
- Hits         2948     2943       -5     
  Misses       1110     1110              

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

Copy link
Contributor

@giacomo-alzetta-aiven giacomo-alzetta-aiven left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@giacomo-alzetta-aiven giacomo-alzetta-aiven merged commit 02f5ae6 into main Mar 1, 2024
8 checks passed
@giacomo-alzetta-aiven giacomo-alzetta-aiven deleted the exg-s3-retry branch March 1, 2024 08:56
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.

3 participants