2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-25 22:27:35 +00:00
restic/cmd/restic
Alexander Neumann 581c62ee72 archiver: Improve error handling
This commit changes how the worker goroutines for saving e.g. blobs
interact. Before, it was possible to get stuck sending an instruction to
archive a file or dir when no worker goroutines were available any more.
This commit introduces a `done` channel for each of the worker pools,
which is set to the channel returned by `tomb.Dying()`, so it is closed
when the first worker returned an error.
2018-05-12 23:55:54 +02:00
..
testdata Reduce dataset for integration tests 2018-03-11 21:07:47 +01:00
.gitignore Moves files 2017-07-23 14:19:13 +02:00
cleanup.go Return exit code 130 when SIGINT is received 2018-04-20 21:09:50 +02:00
cmd_backup.go archiver: Improve error handling 2018-05-12 23:55:54 +02:00
cmd_cache.go Add 'cache' command 2018-05-01 16:27:44 +02:00
cmd_cat.go cat: Do not display a stack trace 2018-05-10 19:22:46 +02:00
cmd_check.go Improve error message for orphaned pack files 2018-04-07 10:07:54 +02:00
cmd_debug.go Fix calls to repo/backend.List() everywhere 2018-01-21 21:15:09 +01:00
cmd_diff.go repository/master_index: Optimize Index.Lookup() 2018-01-23 22:25:56 -05:00
cmd_dump.go repository/master_index: Optimize Index.Lookup() 2018-01-23 22:25:56 -05:00
cmd_find.go debug: Remove manual Str() call Log() 2018-01-25 20:49:41 +01:00
cmd_forget.go forget: Print policy 2018-03-30 10:24:26 +02:00
cmd_generate.go Rework generation of manpages and completion files 2017-09-26 13:12:12 +02:00
cmd_init.go init: Correct text (backend vs. repository) 2018-01-20 09:51:49 +01:00
cmd_key.go key: Add flag for non-interactive password changes 2018-04-20 14:29:39 +02:00
cmd_list.go Fix calls to repo/backend.List() everywhere 2018-01-21 21:15:09 +01:00
cmd_ls.go ls: Improve output 2018-04-22 11:37:05 +02:00
cmd_migrate.go Capitalize short help commands 2017-09-11 09:32:44 -07:00
cmd_mount.go Add support for illumos/Solaris 2018-03-04 20:11:29 +00:00
cmd_options.go Capitalize short help commands 2017-09-11 09:32:44 -07:00
cmd_prune.go debug: Remove manual Str() call Log() 2018-01-25 20:49:41 +01:00
cmd_rebuild_index.go index: Limit index files to 3000 pack files 2018-01-26 21:07:16 +01:00
cmd_restore.go restore: Improve error message for more than one ID 2018-01-06 22:44:18 +01:00
cmd_snapshots.go Add --last flag to snapshots command 2017-10-26 14:02:29 +08:00
cmd_tag.go debug: Remove manual Str() call Log() 2018-01-25 20:49:41 +01:00
cmd_unlock.go use global context for check, debug, dump, find, forget, init, key, 2017-12-06 07:02:55 -05:00
cmd_version.go Make version output one line. 2018-03-21 21:49:03 +01:00
doc.go Moves files 2017-07-23 14:19:13 +02:00
exclude_test.go Document approach for multiple reject-if-present test 2017-11-27 21:38:15 +01:00
exclude.go cmd/restic: Use a dedicated cache for each rejectIfPresent 2017-11-27 17:33:53 +01:00
excludes Upadte vendored dependencies 2017-10-22 10:07:36 +02:00
find.go Fix calls to repo/backend.List() everywhere 2018-01-21 21:15:09 +01:00
flags_test.go Moves files 2017-07-23 14:19:13 +02:00
format.go ls: Improve output 2018-04-22 11:37:05 +02:00
global_debug.go Add profile build flag 2018-04-30 14:19:04 +02:00
global_release.go Add profile build flag 2018-04-30 14:19:04 +02:00
global.go Merge pull request #1749 from restic/add-cache-cmd 2018-05-01 21:25:52 +02:00
integration_fuse_test.go Use new archiver code in tests 2018-04-25 14:42:45 +02:00
integration_helpers_test.go Disable polynomial check for chunker for tests 2018-03-11 20:59:40 +01:00
integration_helpers_unix_test.go Moves files 2017-07-23 14:19:13 +02:00
integration_helpers_windows_test.go Moves files 2017-07-23 14:19:13 +02:00
integration_test.go backup: Disable status output for --quiet 2018-05-02 21:24:18 +02:00
local_layout_test.go Remove all dot-imports 2017-10-02 15:06:39 +02:00
lock.go mount: Ignore non-existing locks 2018-02-25 13:11:03 +01:00
main.go Use new archiver code for backup 2018-04-28 22:08:11 +02:00
table.go Show the amount of snapshots 2017-10-01 17:14:54 +02:00