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

Implement a retry mechanism for the FileUploader #2213

Open
4 tasks done
Tracked by #2047
jpraynaud opened this issue Jan 13, 2025 · 0 comments · May be fixed by #2244
Open
4 tasks done
Tracked by #2047

Implement a retry mechanism for the FileUploader #2213

jpraynaud opened this issue Jan 13, 2025 · 0 comments · May be fixed by #2244
Assignees
Labels
feature 🚀 New implemented feature

Comments

@jpraynaud
Copy link
Member

jpraynaud commented Jan 13, 2025

Why

We want to support retries on the FileUploaders to provide more reliability.

What

Implement a decorator for the FileUploader trait which provides a basic retry feature.
Extend the FileUploader trait to support a retry mechanism.

How

  • Implement a RetryableFileUploader decorator for the FileUploader trait with configurable maximum number of retries and delay between retries
  • Decorate all the existing file uploaders of the CardanoDatabase with the RetryableFileUploader (with 3 retries and 5 seconds delay in the Default implementation)
  • Extend the FileUploader trait to support a retry mechanism with a blanket implementation.
  • Adapt all the existing file uploaders of the CardanoDatabase with the RetryableFileUploader (with 3 retries and 5 seconds delay in the Default implementation)
@jpraynaud jpraynaud added the feature 🚀 New implemented feature label Jan 13, 2025
@jpraynaud jpraynaud changed the title Implement a retry decorator for the FileUploader Implement a retry mechanism for the FileUploader Jan 24, 2025
@sfauvel sfauvel linked a pull request Jan 24, 2025 that will close this issue
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 🚀 New implemented feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants