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

storage/s3: propagate retryable errors from sdk to the user #261

Merged
merged 3 commits into from
Jan 6, 2021

Conversation

sonmezonur
Copy link
Member

I think it would be useful to inform the caller for retryable errors. If retryable errors are received during command execution, users should be able to get information about it.

@sonmezonur sonmezonur requested a review from a team as a code owner December 18, 2020 19:35
@sonmezonur sonmezonur requested review from igungor and ilkinulas and removed request for a team December 18, 2020 19:35
@sonmezonur
Copy link
Member Author

Since s5cmd does not print any logs during the retry period, it misleads users (they don't know what actually happens during execution). For example, this issue is not due to the slow startup of s5cmd, it is because aws sdk getting errors and we don't send any information to the user. ( #244)

storage/s3.go Outdated Show resolved Hide resolved
@sonmezonur sonmezonur merged commit 3fabd0e into master Jan 6, 2021
@sonmezonur sonmezonur deleted the retryable_error branch January 6, 2021 08:07
@ilkinulas ilkinulas added this to the v1.3.0 milestone Jun 30, 2021
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