1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-24 08:44:52 +00:00
restic/internal
Michael Eischer 736e964317 archiver: Don't loose error if background context is canceled
A canceled background context lets the blob/tree/fileSavers exit
without reporting an error. The error handling previously replaced
a 'context canceled' error received by the main backup method with
the error reported by the savers. However, in case of a canceled
background context that error is nil, causing restic to loose the
error and save a snapshot with a nil tree.
2020-12-28 21:06:47 +01:00
..
archiver archiver: Don't loose error if background context is canceled 2020-12-28 21:06:47 +01:00
backend Don't retry when "Permission denied" occurs in local backend 2020-12-22 23:41:12 +01:00
cache Less repetitive error messages in internal/cache 2020-10-05 20:28:54 +02:00
checker check: remove file size counter 2020-12-23 02:34:31 +01:00
crypto crypto: Remove unused error 2020-09-05 10:07:16 +02:00
debug Allow debug logging to pipes and terminals 2020-10-19 22:30:30 +02:00
dump Deduplicate dumper closing logic 2020-12-19 02:42:46 +03:00
errors Don't retry when "no space left on device" in local backend 2020-12-17 12:43:09 +01:00
filter filter: Fix glob matching on absolute path marker on windows 2020-10-09 16:11:05 +02:00
fs vss: fix DeleteSnapshots() and GetSnapshotProperties() on 386 2020-11-12 19:31:00 +01:00
fuse fuse: Properly set uid/gid for directories 2020-11-30 23:41:49 +01:00
hashing Micro-optimization for hashing.Writer/PackerManager 2020-03-05 22:30:04 +01:00
limiter
migrations Fix issues reported by semgrep 2020-12-11 09:41:59 +01:00
mock mock: Remove unused repository type 2019-04-13 13:38:39 +02:00
options Some options fixes 2020-12-23 23:26:04 +03:00
pack Make BlobHandle substruct of Blob 2020-11-22 20:41:10 +01:00
repository repository: tweak comment for packs method 2020-12-22 23:01:58 +01:00
restic Count packs directly in RebuildIndexFiles 2020-12-22 23:01:58 +01:00
restorer Fix issues reported by semgrep 2020-12-11 09:41:59 +01:00
selfupdate self-update: Don't cancel download after 30 seconds 2019-02-23 11:15:18 +01:00
test helpers: Improve error message 2020-11-12 20:38:31 +01:00
textfile Remove io.Writer from fs.File 2020-09-21 14:21:32 +02:00
ui ui/progress: Use mutex instead of atomic 2020-12-22 21:03:27 +01:00
walker Remove a few redundant type specifiers 2020-10-06 14:55:13 +02:00