2024-05-11 18:26:34 +00:00
|
|
|
Change: Redesign backend error handling to improve reliability
|
2024-05-01 14:28:57 +00:00
|
|
|
|
|
|
|
Restic now downloads pack files in large chunks instead of using a streaming
|
|
|
|
download. This prevents failures due to interrupted streams. The `restore`
|
2024-07-22 22:19:22 +00:00
|
|
|
command now also retries downloading individual blobs that could not be
|
|
|
|
retrieved.
|
2024-05-01 14:28:57 +00:00
|
|
|
|
2024-05-01 20:03:20 +00:00
|
|
|
HTTP requests that are stuck for more than two minutes while uploading or
|
|
|
|
downloading are now forcibly interrupted. This ensures that stuck requests are
|
2024-05-11 18:26:34 +00:00
|
|
|
retried after a short timeout.
|
|
|
|
|
2024-07-22 22:19:22 +00:00
|
|
|
Attempts to access a missing or truncated file will no longer be retried. This
|
|
|
|
avoids unnecessary retries in those cases. All other backend requests are
|
|
|
|
retried for up to 15 minutes. This ensures that temporarily interrupted network
|
2024-05-20 18:37:28 +00:00
|
|
|
connections can be tolerated.
|
2024-05-11 18:26:34 +00:00
|
|
|
|
2024-07-22 22:19:22 +00:00
|
|
|
If a download yields a corrupt file or blob, then the download will be retried
|
|
|
|
once.
|
2024-05-18 21:03:24 +00:00
|
|
|
|
2024-05-11 18:26:34 +00:00
|
|
|
Most parts of the new backend error handling can temporarily be disabled by
|
2024-07-22 22:19:22 +00:00
|
|
|
setting the environment variable `RESTIC_FEATURES=backend-error-redesign=false`.
|
|
|
|
Note that this feature flag will be removed in the next minor restic version.
|
2024-05-01 20:03:20 +00:00
|
|
|
|
2024-05-01 14:28:57 +00:00
|
|
|
https://github.com/restic/restic/issues/4627
|
2024-05-01 20:03:20 +00:00
|
|
|
https://github.com/restic/restic/issues/4193
|
2024-05-01 14:28:57 +00:00
|
|
|
https://github.com/restic/restic/pull/4605
|
2024-05-01 20:03:20 +00:00
|
|
|
https://github.com/restic/restic/pull/4792
|
2024-05-11 18:26:34 +00:00
|
|
|
https://github.com/restic/restic/issues/4515
|
|
|
|
https://github.com/restic/restic/issues/1523
|
|
|
|
https://github.com/restic/restic/pull/4520
|
2024-05-18 21:03:24 +00:00
|
|
|
https://github.com/restic/restic/pull/4800
|
2024-05-20 18:37:28 +00:00
|
|
|
https://github.com/restic/restic/pull/4784
|
2024-06-01 16:54:01 +00:00
|
|
|
https://github.com/restic/restic/pull/4844
|