restic/internal/archiver
Michael Eischer 5607fd759f repository: fix race condition for blobSaver shutdown
wg.Go() may not be called after wg.Wait(). This prevents connecting two
errgroups such that the errors are propagated between them if the child
errgroup dynamically starts goroutines. Instead use just a single errgroup,
and sequence the shutdown using a sync.WaitGroup. This is far simpler
and does not require any "clever" tricks.
2025-11-26 21:18:22 +01:00
..
archiver.go archiver: port to repository.SaveBlobAsync 2025-11-26 21:18:22 +01:00
archiver_test.go repository: fix race condition for blobSaver shutdown 2025-11-26 21:18:22 +01:00
archiver_unix_test.go data: split node and snapshot code from restic package 2025-10-03 19:10:39 +02:00
buffer.go archiver: convert buffer pool to use sync.Pool 2025-11-26 21:18:22 +01:00
buffer_test.go archiver: add buffer test 2025-11-26 21:18:22 +01:00
doc.go archiver: hide implementation details 2024-08-31 17:52:45 +02:00
exclude.go backup: allow excluding online-only cloud files 2025-01-13 21:11:23 +01:00
exclude_test.go fs: inline ExtendedStat 2024-11-30 16:19:16 +01:00
file_saver.go archiver: convert buffer pool to use sync.Pool 2025-11-26 21:18:22 +01:00
file_saver_test.go archiver: assert number of uploaded chunks in fileSaver test 2025-11-26 21:18:22 +01:00
scanner.go fs: remove os.FileInfo from fs.ExtendedFileInfo 2024-11-30 17:07:36 +01:00
scanner_test.go fs: remove os.FileInfo from fs.ExtendedFileInfo 2024-11-30 17:07:36 +01:00
testing.go data: split node and snapshot code from restic package 2025-10-03 19:10:39 +02:00
testing_test.go minimize usage of internal/fs in tests 2024-08-31 18:20:41 +02:00
tree.go archiver: hide implementation details 2024-08-31 17:52:45 +02:00
tree_saver.go archiver: port to repository.SaveBlobAsync 2025-11-26 21:18:22 +01:00
tree_saver_test.go archiver: assert number of uploaded chunks in fileSaver test 2025-11-26 21:18:22 +01:00
tree_test.go archiver: hide implementation details 2024-08-31 17:52:45 +02:00