2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-27 12:42:49 +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 convert MemorizeList to be repository based 2023-10-25 23:01:35 +02:00
backend_find.go Fix linter errors (except for tests) 2024-02-10 22:58:10 +01:00
blob_set_test.go replace deprecated usages of math/rand 2024-08-10 19:34:49 +02:00
blob_set.go internal/restic: Return summary from BlobSet.String 2023-08-25 21:41:30 +02:00
blob_test.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
blob.go restic: decouple restic.Handle 2023-10-25 22:54:07 +02:00
config_test.go Use _ as parameter name for unused Context 2023-05-18 21:15:45 +02:00
config.go repository: use normal Init method in tests 2024-04-14 13:45:11 +02:00
doc.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
duration_test.go forget: Fail test if duration parsing error is missing 2022-08-18 20:14:09 +02:00
duration.go comment cleanup 2022-08-18 20:15:38 +02:00
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 Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
id_test.go internal/restic: Remove unused ID.EqualString 2022-10-14 18:20:11 +02:00
id.go Switch back to sha256 from the std library 2024-08-10 19:16:10 +02:00
ids_test.go restic: Clean up restic.IDs type 2022-12-03 12:38:20 +01:00
ids.go restic: Clean up restic.IDs type 2022-12-03 12:38:20 +01:00
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 repository: Reuse buffers in Repository.LoadUnpacked 2023-01-30 22:01:01 +01:00
lister_test.go convert MemorizeList to be repository based 2023-10-25 23:01:35 +02:00
lister.go convert MemorizeList to be repository based 2023-10-25 23:01:35 +02:00
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: Don't copy the lock when checking for process existence 2022-11-11 21:45:55 +01:00
lock_windows.go internal/restic: Fix UID/GID parsing 2022-10-14 18:21:00 +02:00
lock.go lock: introduce short delay between failed locking retries 2024-08-26 16:31:42 +02:00
mknod_unix.go add go:build headers everywhere 2022-03-28 22:23:47 +02:00
node_aix.go Add support for Windows EA in node 2024-05-17 14:18:20 -06:00
node_darwin.go Make restic.{lchown,mknod} regular functions 2021-05-27 22:51:40 +02:00
node_freebsd.go add go:build headers everywhere 2022-03-28 22:23:47 +02:00
node_linux.go all: Replace some errors.Wrap calls by errors.WithStack 2022-12-17 09:41:07 +01:00
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 [#issue 3127] Add xattr support for Solaris 2022-02-13 14:24:37 +05:30
node_test.go restic: cleanup redundant code in test case 2024-08-25 23:18:55 +02:00
node_unix_test.go backup: Ignore xattr.list permission error for parent directories 2024-04-10 20:46:15 +02:00
node_unix.go add go:build headers everywhere 2022-03-28 22:23:47 +02:00
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 backup: Ignore xattr.list permission error for parent directories 2024-04-10 20:46:15 +02:00
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 convert MemorizeList to be repository based 2023-10-25 23:01:35 +02:00
snapshot_find.go Add more checks for canceled contexts 2024-07-31 19:30:47 +02:00
snapshot_group_test.go Fix typos 2023-12-06 13:11:55 +01:00
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 Refactor policy sum calculation & duration parsing 2023-03-14 19:29:08 -07:00
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 backup: rename data_added_in_repo statistic to data_added_packed 2024-02-25 20:40:52 +01:00
tag_list_test.go feat(tags): Create Flatten() method 2020-12-29 10:59:46 +01:00
tag_list.go all: Minor cleanups 2022-10-16 10:50:39 +02:00
testing_test.go check: allow tests to only verify pack&index integrity 2024-04-14 13:45:04 +02:00
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 Ensure consistent naming for <snapshot>:<subfolder> syntax 2023-07-22 19:55:57 +02:00
zeroprefix_test.go restorer: move zeroPrefixLen to restic package 2022-09-24 21:39:39 +02:00
zeroprefix.go restorer: move zeroPrefixLen to restic package 2022-09-24 21:39:39 +02:00