2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-22 12:55:18 +00:00
restic/internal/archiver
Alexander Neumann c44e808aa5 backup: Fix deadlock
When the archiver is faster than the scanner, restic deadlocks. This
commit adds a `finished` channel to the struct in `ui/backup.go` so that
scanner results are ignored when the archiver is already finished.

Closes #1834
2018-06-09 12:15:19 +02:00
..
archiver_test.go archiver: Refuse to save an empty snapshot 2018-05-20 16:11:51 +02:00
archiver.go archiver: Don't open files with O_NONBLOCK 2018-05-20 16:11:51 +02:00
blob_saver_test.go archiver: Improve error handling 2018-05-12 23:55:54 +02:00
blob_saver.go archiver: Improve error handling 2018-05-12 23:55:54 +02:00
buffer.go archiver: Improve buffer pool 2018-04-30 15:13:28 +02:00
doc.go archiver: Add high-level documentation 2018-05-12 23:55:54 +02:00
file_saver_test.go archiver: Improve error handling 2018-05-12 23:55:54 +02:00
file_saver.go archiver: Add test for early abort on unhandled error 2018-05-12 23:55:59 +02:00
index_uploader.go Add new archiver code 2018-04-25 14:42:45 +02:00
scanner_test.go Add new archiver code 2018-04-25 14:42:45 +02:00
scanner.go backup: Fix deadlock 2018-06-09 12:15:19 +02:00
testing_test.go Use new archiver code in tests 2018-04-25 14:42:45 +02:00
testing.go Use new archiver code in tests 2018-04-25 14:42:45 +02:00
tree_saver_test.go archiver: Improve error handling 2018-05-12 23:55:54 +02:00
tree_saver.go archiver: Improve error handling 2018-05-12 23:55:54 +02:00
tree_test.go Add new archiver code 2018-04-25 14:42:45 +02:00
tree.go Add new archiver code 2018-04-25 14:42:45 +02:00