2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-25 22:27:35 +00:00
restic/internal
Michael Eischer f3d964a8c1 rclone: treat "file already closed" as command startup error
Since #3940 the rclone backend returns the commands exit code if it
fails to start. The list of expected errors was missing the "file
already closed"-error which can occur if the http test request first
learns about the closed pipe to rclone before noticing the canceled
context.

Go internally makes sure that a file descriptor is unusable once it was
closed, thus this cannot have unintended side effects (like accidentally
reading from the wrong file due to a reused file descriptor).
2022-12-02 20:46:02 +01:00
..
archiver Merge pull request #2875 from fgma/issue2699 2022-11-12 20:06:45 +01:00
backend rclone: treat "file already closed" as command startup error 2022-12-02 20:46:02 +01:00
bloblru bloblru: Upgrade to hashicorp/golang-lru/v2 2022-11-27 17:18:13 +01:00
cache cache: Call interface method once 2022-10-21 14:32:46 +02:00
checker restic: Change FindSnapshot functions to return the snapshot 2022-10-15 13:34:04 +02:00
crypto crypto: move crypto buffer helpers 2022-07-17 13:42:23 +02:00
debug debug: support roundtripper logging also for release builds 2022-08-05 23:49:39 +02:00
dump repository: extract LoadTree/SaveTree 2022-07-17 13:11:28 +02:00
errors errors: Drop WithMessage 2022-10-14 14:06:47 +02:00
filter remove no longer necessary conditional compiles 2022-11-27 13:18:44 +01:00
fs fs: Remove explicit type check in extendedStat 2022-11-27 19:58:06 +01:00
fuse mount: switch to anacrolix fork of bazil/fuse 2022-11-12 19:22:31 +01:00
hashing hashing: Fix up comments 2022-05-11 21:36:10 +02:00
index index: Compact data structure for Index.EachByPack 2022-10-29 23:09:17 +02:00
migrations backend: split layout code into own subpackage 2022-10-21 21:36:05 +02:00
options backend, options: Prefer strings.Cut to SplitN 2022-12-02 19:19:14 +01:00
pack repository: optimize MasterIndex.Each 2022-09-24 12:21:59 +02:00
repository remove no longer necessary conditional compiles 2022-11-27 13:18:44 +01:00
restic Merge pull request #4022 from MichaelEischer/race-checker 2022-11-26 12:13:50 +01:00
restorer restic: Change FindSnapshot functions to return the snapshot 2022-10-15 13:34:04 +02:00
selfupdate all: Drop ctxhttp 2022-10-14 14:33:49 +02:00
test all: Move away from pkg/errors, easy cases 2022-06-14 08:36:38 +02:00
textfile Add more error handling 2021-01-30 20:19:47 +01:00
ui Merge pull request #3993 from MichaelEischer/backup-json-full-snapshot-id 2022-11-12 20:42:35 +01:00
walker rewrite: Fail if a tree contains an unknown field 2022-11-12 19:55:22 +01:00