Automatic retrying for downloads
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 6
- Forks
- 1
- Avg merge
- 5d 23h
- Merged PRs (30d)
- 3
Description
Please describe the feature
I noticed that the download sometimes fails for arbitrary networking reasons like "unexpected end of file". When retrying, for me at least, they didnt reappear. I wrapped the download command into a short python script that retries if an error occurs with an updated download file list. (It compares a txt of to download files with the actual data present on disk, if there are duplicates they get removed from the file, since the -continue flag doesnt save much time.)
It would be useful if the automatic retrying was integrated into the program itself, since especially for large datasets noticing that such an error occured and that the download terminated costs a lot of time.
Task
Add retry-loop to the sda-cli download command.
Estimation of size: small
Estimation of priority: low
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the sda-cli download command entry point and inspect how download errors and the input file list are currently handled. The work is complete when transient download failures are retried automatically and the command can finish downloading the requested data without manual reruns.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli, networking
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100