mirror of
https://github.com/octoleo/restic.git
synced 2024-12-26 20:30:19 +00:00
666a0b0bdb
Due to the interface of streamPack, we cannot guarantee that operations progress fast enough that the underlying connections remains open. This introduces partial failures which massively complicate the error handling. Switch to a simpler approach that retrieves the pack in chunks of 32MB. If a blob is larger than this limit, then it is downloaded separately. To avoid multiple copies in memory, an auxiliary interface `discardReader` is introduced that allows directly accessing the downloaded byte slices, while still supporting the streaming used by the `check` command. |
||
---|---|---|
.. | ||
testdata | ||
doc.go | ||
fuzz_test.go | ||
key.go | ||
lock_test.go | ||
lock.go | ||
packer_manager_test.go | ||
packer_manager.go | ||
packer_uploader.go | ||
repack_test.go | ||
repack.go | ||
repair_pack_test.go | ||
repair_pack.go | ||
repository_internal_test.go | ||
repository_test.go | ||
repository.go | ||
testing.go |