2
2
mirror of https://github.com/octoleo/restic.git synced 2025-01-15 03:23:48 +00:00
restic/internal/restic
Michael Eischer 2296fdf668 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-26 16:31:42 +02:00
..
testdata forget: Add --unsafe-allow-remove-all option 2024-05-24 20:45:33 +02:00
backend_find_test.go
backend_find.go
blob_set_test.go replace deprecated usages of math/rand 2024-08-10 19:34:49 +02:00
blob_set.go
blob_test.go
blob.go
config_test.go
config.go
doc.go
duration_test.go
duration.go
find_test.go repository: fix parameter order of LookupBlobSize 2024-05-24 21:33:17 +02:00
find.go repository: let prune control data structure of usedBlobs set 2024-05-24 22:18:14 +02:00
id_int_test.go
id_test.go
id.go Switch back to sha256 from the std library 2024-08-10 19:16:10 +02:00
ids_test.go
ids.go
idset_test.go restic: add IDSet.Clone() method 2024-05-24 21:33:17 +02:00
idset.go restic: add IDSet.Clone() method 2024-05-24 21:33:17 +02:00
json.go
lister_test.go
lister.go
lock_test.go repository: wait max 1 minutes for lock removal if context is canceled 2024-05-24 20:24:02 +02:00
lock_unix.go
lock_windows.go
lock.go lock: introduce short delay between failed locking retries 2024-08-26 16:31:42 +02:00
mknod_unix.go
node_aix.go Add support for Windows EA in node 2024-05-17 14:18:20 -06:00
node_darwin.go
node_freebsd.go
node_linux.go
node_netbsd.go Add support for Windows EA in node 2024-05-17 14:18:20 -06:00
node_openbsd.go Add support for Windows EA in node 2024-05-17 14:18:20 -06:00
node_solaris.go
node_test.go restic: cleanup redundant code in test case 2024-08-25 23:18:55 +02:00
node_unix_test.go
node_unix.go
node_windows_test.go Add test cases and handle volume GUID paths 2024-08-11 19:25:58 -06:00
node_windows.go Add test cases and handle volume GUID paths 2024-08-11 19:25:58 -06:00
node_xattr_all_test.go restorer: windows test fixes 2024-06-13 23:20:09 +02:00
node_xattr_test.go
node_xattr.go restore: remove unexpected xattrs from files 2024-06-13 22:21:00 +02:00
node.go restic: restore timestamps after extended attributes 2024-08-25 23:18:55 +02:00
parallel.go replace some uses of restic.Repository with finegrained interfaces 2024-05-18 21:42:51 +02:00
repository.go repository: remove SaveIndex from interface 2024-05-24 21:33:17 +02:00
snapshot_find_test.go
snapshot_find.go Add more checks for canceled contexts 2024-07-31 19:30:47 +02:00
snapshot_group_test.go
snapshot_group.go forget: refuse deleting the last snapshot in a snapshot group 2024-05-24 20:45:33 +02:00
snapshot_policy_test.go
snapshot_policy.go forget: Add --unsafe-allow-remove-all option 2024-05-24 20:45:33 +02:00
snapshot_test.go remove usages of repo.Backend() from tests 2024-05-18 21:42:51 +02:00
snapshot.go
tag_list_test.go
tag_list.go
testing_test.go
testing.go replace some uses of restic.Repository with finegrained interfaces 2024-05-18 21:42:51 +02:00
tree_stream.go repository: fix parameter order of LookupBlobSize 2024-05-24 21:33:17 +02:00
tree_test.go remove usages of repo.Backend() from tests 2024-05-18 21:42:51 +02:00
tree.go
zeroprefix_test.go
zeroprefix.go