4f2fae4f28
Few improvements were made to how we are handling errors while doing parallel upload/download for single object: * unhide error under 'context canceled' which was shown in most of cases * add part number to error message * don't try to commit if any error occurs while operation * combine errors into more readable form, example: --- failed to download part 3: uplink: eestream: failed to download stripe 0: error retrieving piece 00: ecclient: piecestore: rpc: tcp connector failed: rpc: dial tcp 97.119.158.36:28967: i/o timeout ... error retrieving piece 89: ecclient: piecestore: rpc: tcp connector failed: rpc: dial tcp 161.129.152.194:28967: i/o timeout failed to download part 1: uplink: eestream: failed to download stripe 0: error retrieving piece 01: io: read/write on closed pipe ... error retrieving piece 97: io: read/write on closed pipe failed to download part 2: uplink: eestream: failed to download stripe 0: error retrieving piece 00: io: read/write on closed pipe ... error retrieving piece 01: ecclient: piecestore: rpc: tcp connector failed: rpc: dial tcp 180.183.132.234:28967: operation was canceled error retrieving piece 96: io: read/write on closed pipe main.(*cmdCp).parallelCopy:418 main.(*cmdCp).copyFile:262 main.(*cmdCp).Execute:156 main.(*external).Wrap:123 github.com/zeebo/clingy.(*Environment).dispatchDesc:126 github.com/zeebo/clingy.(*Environment).dispatch:53 github.com/zeebo/clingy.Environment.Run:34 main.main:26 runtime.main:250 --- Change-Id: I9bb70b3f754567761fa8d17bef8ef59b0709e33b |
||
---|---|---|
.. | ||
cmd | ||
ulext | ||
ulfs | ||
ulloc | ||
ultest | ||
access_maker.go | ||
access_permissions.go | ||
cmd_access_create.go | ||
cmd_access_export.go | ||
cmd_access_import.go | ||
cmd_access_inspect_test.go | ||
cmd_access_inspect.go | ||
cmd_access_list.go | ||
cmd_access_register.go | ||
cmd_access_remove.go | ||
cmd_access_restrict.go | ||
cmd_access_revoke.go | ||
cmd_access_setup.go | ||
cmd_access_use.go | ||
cmd_cp_test.go | ||
cmd_cp.go | ||
cmd_ls_test.go | ||
cmd_ls.go | ||
cmd_mb.go | ||
cmd_meta_get.go | ||
cmd_mv_test.go | ||
cmd_mv.go | ||
cmd_rb.go | ||
cmd_rm_test.go | ||
cmd_rm.go | ||
cmd_share_test.go | ||
cmd_share.go | ||
cmd_version.go | ||
external_access.go | ||
external_config.go | ||
external_migrate.go | ||
external_project.go | ||
external.go | ||
initial_setup.go | ||
main.go | ||
stdlib_flags_test.go | ||
stdlib_flags.go | ||
tabbed_writer.go | ||
ulimit_other.go | ||
ulimit.go |