restic/internal
Michael Eischer 257740b0cc b2: Successful delete if file does not exist
When deleting a file, B2 sometimes returns a "500 Service Unavailable"
error but nevertheless correctly deletes the file. Due to retries in
the B2 library blazer, we sometimes also see a "400 File not present"
error. The retries of restic for the delete request then fail with
"404 File with such name does not exist.".

As we have to rely on request retries in a distributed system to handle
temporary errors, also consider a delete request to be successful if the
file is reported as not existing. This should be safe as B2 claims to
provide a strongly consistent bucket listing and thus a missing file
shouldn't mysteriously show up again later on.
2021-10-09 23:51:12 +02:00
..
archiver internal/restic: Don't allocate in Tree.Insert 2021-09-26 18:08:48 +02:00
backend b2: Successful delete if file does not exist 2021-10-09 23:51:12 +02:00
bloblru Check cap instead of len in bloblru 2021-10-03 09:34:17 +02:00
cache Simplify cache logic 2021-09-03 21:01:00 +02:00
checker Add plumbing to calculate backend specific file hash for upload 2021-08-04 22:17:46 +02: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 Use LRU cache in restic dump 2021-09-24 15:45:08 +02:00
errors Modernize error handling in local backend 2021-06-18 11:13:27 +02:00
filter filter: Fix crash for '**' pattern 2021-05-14 23:50:31 +02:00
fs Save cached files to a temporary location first 2021-08-04 22:02:42 +02:00
fuse Move Blobcache into dedicated internal package 2021-09-24 15:45:00 +02:00
hashing errcheck: Add error checks 2021-01-30 20:02:37 +01:00
limiter Add plumbing to calculate backend specific file hash for upload 2021-08-04 22:17:46 +02:00
migrations Fix issues reported by semgrep 2020-12-11 09:41:59 +01:00
mock Add plumbing to calculate backend specific file hash for upload 2021-08-04 22:17:46 +02:00
options Some options fixes 2020-12-23 23:26:04 +03:00
pack Add plumbing to calculate backend specific file hash for upload 2021-08-04 22:17:46 +02:00
repository Replace siphash by hash/maphash 2021-09-19 16:05:18 +02:00
restic internal/restic: Don't allocate in Tree.Insert 2021-09-26 18:08:48 +02:00
restorer restore: Fix linting error 2021-09-19 14:41:07 +02:00
selfupdate self-update: Don't cancel download after 30 seconds 2019-02-23 11:15:18 +01:00
test Add more error handling 2021-01-30 20:19:47 +01:00
textfile Add more error handling 2021-01-30 20:19:47 +01:00
ui ui: consolidate backup ui in ui/backup package 2021-09-12 16:20:15 +02:00
walker internal/restic: Don't allocate in Tree.Insert 2021-09-26 18:08:48 +02:00