1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2025-01-03 05:35:43 +00:00
restic/internal
Alexander Neumann fc5439a37a cache: Ensure failed downloads are retried
This fixes #1833, which consists of two different bugs:

 * The `defer` in `cacheFile()` may remove a channel from the
   `inProgress` map although it is not responsible for downloading the
   file

 * If the download fails, goroutines waiting for the file to be cached
   assumed that the file was there, there was no way to signal the
   error.
2018-06-09 17:50:56 +02:00
..
archiver backup: Fix deadlock 2018-06-09 12:15:19 +02:00
backend s3: Pass list errors up to the caller 2018-06-01 22:15:23 +02:00
cache cache: Ensure failed downloads are retried 2018-06-09 17:50:56 +02:00
checker Use new archiver code in tests 2018-04-25 14:42:45 +02:00
crypto
debug
errors
filter
fs fs: Add TestTempFile 2018-05-01 14:38:41 +02:00
fuse
hashing
index
limiter rclone: Respect bandwith limits 2018-05-22 20:48:17 +02:00
list
migrations
mock check: Allow filling the cache during check 2018-04-01 13:59:27 +02:00
options
pack
repository repository: Improve buffer pooling 2018-04-22 11:37:05 +02:00
restic Restructure TestApplyPolicy 2018-05-13 12:48:42 +02:00
test Add test.Helper, also works with Go 1.8 2018-04-22 11:37:05 +02:00
textfile Add textfile 2018-05-01 14:38:59 +02:00
ui backup: Fix deadlock 2018-06-09 12:15:19 +02:00
worker