2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-22 21:05:10 +00:00
restic/internal/repository
Michael Eischer e597b99b55 repository: Reduce repack workers to prevent deadlock
As repack streams packs these occupy one backend connection. Uploading a
new pack also requires a backend connection. To prevent a deadlock
during repack when reaching the backend connections limit, simply limit
the repackWorker count to always leave one connection for uploading.
2022-04-23 11:28:18 +02:00
..
testdata Moves files 2017-07-23 14:19:13 +02:00
doc.go Moves files 2017-07-23 14:19:13 +02:00
index_parallel_test.go repository: Add test for ForAllIndexes 2020-12-22 22:36:18 +01:00
index_parallel.go repository: Rename LoadAndDecrypt to LoadUnpacked 2022-03-28 22:09:49 +02:00
index_test.go errcheck: Add error checks 2021-01-30 20:02:37 +01:00
index.go repository: Simplify Blob equality check 2022-03-28 22:09:49 +02:00
indexmap_test.go Replace siphash by hash/maphash 2021-09-19 16:05:18 +02:00
indexmap.go Replace siphash by hash/maphash 2021-09-19 16:05:18 +02:00
key.go crypto: Use helpers for size calculations 2022-03-28 22:09:49 +02:00
master_index_test.go copy: Load snapshots before indexes 2022-04-09 12:27:25 +02:00
master_index.go repository: Remove pack implementation details from MasterIndex 2022-03-28 22:09:49 +02:00
packer_manager_test.go Add plumbing to calculate backend specific file hash for upload 2021-08-04 22:17:46 +02:00
packer_manager.go Simplify cache logic 2021-09-03 21:01:00 +02:00
repack_test.go copy: Implement by reusing repack 2022-03-26 20:47:15 +01:00
repack.go repository: Reduce repack workers to prevent deadlock 2022-04-23 11:28:18 +02:00
repository_internal_test.go Use "pack file" instead of "data file" (#2885) 2020-08-16 11:16:38 +02:00
repository_test.go repository: Rename LoadAndDecrypt to LoadUnpacked 2022-03-28 22:09:49 +02:00
repository.go Print used key name if config fails to load 2022-04-09 22:38:18 +02:00
testing.go local: Limit concurrent backend operations 2022-04-09 12:21:38 +02:00
worker_group.go defer close(ch) outside repository.RunWorkers 2020-10-14 15:50:16 +02:00