2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-23 13:17:42 +00:00
restic/internal/repository
Michael Eischer b1266867d2 repository: wait max 1 minutes for lock removal if context is canceled
The toplevel context in restic only canceled if the user interrupts a
restic operation. If the network connection has failed this can require
waiting the full retry duration of 15 minutes which is a bad user
experience for interactive usage. Thus limit the delay to one minute in
this case.
2024-05-24 20:24:02 +02:00
..
testdata internal/repository: Fix LoadBlob + fuzz test 2022-06-06 17:02:28 +02:00
check.go repository: clean cache between CheckPack retries 2024-05-18 21:42:51 +02:00
doc.go gofmt all files 2022-08-19 19:12:26 +02:00
fuzz_test.go remove usages of repo.Backend() from tests 2024-05-18 21:42:51 +02:00
key.go repository: move backend.LoadAll to repository.LoadRaw 2024-05-18 21:26:00 +02:00
lock_test.go remove usages of repo.Backend() from tests 2024-05-18 21:42:51 +02:00
lock.go repository: wait max 1 minutes for lock removal if context is canceled 2024-05-24 20:24:02 +02:00
packer_manager_test.go repository: store oversized blobs in separate pack files 2023-10-17 22:52:16 +02:00
packer_manager.go Fix typos 2023-12-06 13:11:55 +01:00
packer_uploader.go repository: Rework blob saving to use an async pack uploader 2022-07-02 22:42:34 +02:00
prune_test.go remove usages of repo.Backend() from tests 2024-05-18 21:42:51 +02:00
prune.go replace some uses of restic.Repository with finegrained interfaces 2024-05-18 21:42:51 +02:00
raw_test.go repository: rework and extend LoadRaw tests 2024-05-18 21:28:54 +02:00
raw.go repository: make reloading broken files explicit 2024-05-18 21:28:54 +02:00
repack_test.go remove usages of repo.Backend() from tests 2024-05-18 21:42:51 +02:00
repack.go Merge pull request #4605 from MichaelEischer/better-restorer-error-handling 2024-05-01 16:37:41 +02:00
repair_index_test.go remove usages of repo.Backend() from tests 2024-05-18 21:42:51 +02:00
repair_index.go let index.Each() and pack.Size() return error on canceled context 2024-04-22 22:39:32 +02:00
repair_pack_test.go remove usages of repo.Backend() from tests 2024-05-18 21:42:51 +02:00
repair_pack.go repository: remove redundant blob loading fallback from RepairPacks 2024-05-18 21:28:54 +02:00
repository_internal_test.go repository: convert test helper to return *repository.Repository 2024-05-18 21:38:31 +02:00
repository_test.go remove usages of repo.Backend() from tests 2024-05-18 21:42:51 +02:00
repository.go restic/repository: remove Backend() method 2024-05-18 21:42:51 +02:00
s3_backend.go migrations: add temporary hack for s3_layout 2024-05-18 21:38:31 +02:00
testing.go remove usages of repo.Backend() from tests 2024-05-18 21:42:51 +02:00
upgrade_repo_test.go remove usages of repo.Backend() from tests 2024-05-18 21:42:51 +02:00
upgrade_repo.go remove usages of repo.Backend() from tests 2024-05-18 21:42:51 +02:00