2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-23 13:17:42 +00:00
restic/internal
Michael Eischer 6eece31dc3 lock: introduce short delay between failed locking retries
Failed locking attempts were immediately retried up to three times
without any delay between the retries. If a lock file is not found while
checking for other locks, with the reworked backend retries there is no
delay between those retries. This is a problem if a backend requires a
few seconds to reflect file deletions in the file listings. To work
around this problem, introduce a short exponentially increasing delay
between the retries. The number of retries is now increased to 4. This
results in delays of 5, 10 and 20 seconds between the retries.
2024-08-30 12:45:20 +02:00
..
archiver backup: store but warn if extended metadata for item is incomplete 2024-08-03 22:25:29 +02:00
backend backend/retry: don't trip circuit breaker if context is canceled 2024-08-30 12:45:20 +02:00
bloblru Fix typos 2024-07-03 20:02:06 +02:00
checker Revert "repository: removed redundant prepareCache method from Repository" 2024-08-30 12:43:13 +02:00
crypto crypto: cleanup ciphertext verification error 2024-06-05 22:33:20 +02:00
debug Fix review comments 2024-04-29 16:21:38 -06:00
dump dump: add GetOrCompute to bloblru cache 2024-05-05 11:38:42 +02:00
errors Add changelog and fix lint error 2024-02-24 13:47:49 -07:00
feature s3: forbid anonymous authentication unless explicitly requested 2024-07-10 20:10:27 +02:00
filter remove no longer necessary conditional compiles 2022-11-27 13:18:44 +01:00
fs Add test cases and handle volume GUID paths 2024-08-30 12:37:10 +02:00
fuse Add more checks for canceled contexts 2024-07-31 19:30:47 +02:00
migrations remove usages of repo.Backend() from tests 2024-05-18 21:42:51 +02:00
options backend, options: Prefer strings.Cut to SplitN 2022-12-02 19:19:14 +01:00
repository cache: remove redundant index file cleanup 2024-08-30 12:43:13 +02:00
restic lock: introduce short delay between failed locking retries 2024-08-30 12:45:20 +02:00
restorer Fix typos 2024-08-30 12:37:10 +02:00
selfupdate Replace lots of unused parameters with _ 2023-05-18 21:17:53 +02:00
test use consistent alias for interal/test package 2024-03-29 00:24:03 +01:00
textfile Replace most usages of ioutil with the underlying function 2022-12-02 19:36:43 +01:00
ui json: switch backup and restore errors from string to struct types 2024-08-03 16:21:44 -04:00
walker Add more checks for canceled contexts 2024-07-31 19:30:47 +02:00