1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-25 01:06:39 +00:00
restic/internal/backend
Michael Eischer 9e12159230 Fix O(n) backend list calls in FindFilteredSnapshots
When resolving snapshotIDs in FindFilteredSnapshots either
FindLatestSnapshot or FindSnapshot is called. Both operations issue a
list operation to the backend. When for example passing a long list of
snapshot ids to `forget` this could lead to a large number of list
operations.
2022-04-09 12:26:31 +02:00
..
azure azure: check upload using md5 content hash 2021-08-04 22:17:46 +02:00
b2 b2: Successful delete if file does not exist 2021-10-09 23:51:12 +02:00
dryrun Add plumbing to calculate backend specific file hash for upload 2021-08-04 22:17:46 +02:00
gs gs/swift: calculate md5 content hash for upload 2021-08-04 22:17:46 +02:00
local add go:build headers everywhere 2022-03-28 22:23:47 +02:00
location
mem Simplify cache logic 2021-09-03 21:01:00 +02:00
rclone rclone: Fix timeout calculation 2021-11-07 17:49:33 +01:00
rest rest: Adjust http2 missing eof test to golang >= 1.17.3, >= 1.16.10 2021-11-13 21:57:30 +01:00
s3 s3: Add warning if key ID or secret is empty 2021-10-06 23:13:40 +01:00
sftp sftp: Implement atomic uploads 2022-02-12 20:30:49 +01:00
swift swift: restore context err check for list() 2021-09-24 21:19:46 +02:00
test backends: Remove TestSaveFilenames test 2021-08-15 18:24:16 +02:00
testdata
backend_error.go
backend_retry.go
backend_retry_test.go Add plumbing to calculate backend specific file hash for upload 2021-08-04 22:17:46 +02:00
doc.go
foreground.go
foreground_sysv.go add go:build headers everywhere 2022-03-28 22:23:47 +02:00
foreground_test.go add go:build headers everywhere 2022-03-28 22:23:47 +02:00
foreground_unix.go add go:build headers everywhere 2022-03-28 22:23:47 +02:00
foreground_windows.go Fix rclone (scoop shim) and sftp issue due to detached console on Windows 2022-04-03 17:53:17 +08:00
http_transport.go Add --insecure-tls flag to disable SSL cert verification 2021-09-21 10:52:40 -04:00
layout.go
layout_default.go
layout_rest.go
layout_s3legacy.go
layout_test.go
paths.go
semaphore.go
shell_split.go
shell_split_test.go
utils.go Fix O(n) backend list calls in FindFilteredSnapshots 2022-04-09 12:26:31 +02:00
utils_test.go copy/find/ls/recover/stats: Memorize snapshot listing before index 2022-04-09 12:26:30 +02:00