2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-16 10:05:25 +00:00
restic/internal/archiver
Michael Eischer 5756c96c9f archiver: Fix race condition resulting in files containing null IDs
In some rare cases files could be created which contain null IDs (all
zero) in their content list. This was caused by a race condition between
growing the `Content` slice and inserting the blob IDs into it. In some
cases the blob ID was written to the old slice, which a short time
afterwards was replaced with a larger copy, that did not yet contain the
blob ID.
2022-11-10 20:19:37 +01:00
..
archiver_test.go archiver: Check that saved file does not have null IDs in content 2022-11-08 22:57:41 +01:00
archiver_unix_test.go add go:build headers everywhere 2022-03-28 22:23:47 +02:00
archiver_windows_test.go add go:build headers everywhere 2022-03-28 22:23:47 +02:00
archiver.go backup: hide files from status which are read completely but not saved 2022-10-30 10:29:12 +01:00
blob_saver_test.go archiver: Fix race condition resulting in files containing null IDs 2022-11-10 20:19:37 +01:00
blob_saver.go archiver: Asynchronously complete FutureFile 2022-10-30 10:29:11 +01:00
buffer.go archiver: Remove cleanup goroutine from BufferPool 2022-05-29 17:09:16 +02:00
doc.go archiver: Add high-level documentation 2018-05-12 23:55:54 +02:00
file_saver_test.go archiver: Check that saved file does not have null IDs in content 2022-11-08 22:57:41 +01:00
file_saver.go archiver: Fix race condition resulting in files containing null IDs 2022-11-10 20:19:37 +01:00
scanner_test.go archiver: remove unused fileInfo from progress callback 2022-07-23 14:16:23 +02:00
scanner.go archiver: remove unused fileInfo from progress callback 2022-07-23 14:16:23 +02:00
testing_test.go all: Minor cleanups 2022-10-16 10:50:39 +02:00
testing.go restic: Change FindSnapshot functions to return the snapshot 2022-10-15 13:34:04 +02:00
tree_saver_test.go archiver: Asynchronously complete FutureFile 2022-10-30 10:29:11 +01:00
tree_saver.go archiver: Asynchronously complete FutureFile 2022-10-30 10:29:11 +01:00
tree_test.go Remove a few redundant type specifiers 2020-10-06 14:55:13 +02:00
tree.go archiver/tree: Introduce functions Leaf() and NodeNames() 2021-01-29 11:11:28 +01:00