storj/cmd
paul cannon 2b59640f18 cmd/satellite: ignore Canceled in exit from repair worker
Firstly, this changes the repair functionality to return Canceled errors
when a repair is canceled during the Get phase. Previously, because we
do not track individual errors per piece, this would just show up as a
failure to download enough pieces to repair the segment, which would
cause the segment to be added to the IrreparableDB, which is entirely
unhelpful.

Then, ignore Canceled errors in the return value of the repair worker.
Apparently, when the worker returns an error, that makes Cobra exit the
program with a nonzero exit code, which causes some piece of our
deployment automation to freak out and page people. And when we ask the
repair worker to shut down, "canceled" errors are what we _expect_, not
an error case.

Change-Id: Ia3eb1c60a8d6ec5d09e7cef55dea523be28e8435
2020-11-17 21:37:59 +00:00
..
certificates certificate/authorization: add ctx to OpenDB 2020-10-29 09:46:23 +02:00
identity pkg/revocation: pass ctx into opening the database 2020-10-29 07:15:36 +00:00
inspector satellite/internalpb: add inspectors 2020-10-30 13:28:17 +02:00
internal cmd/internal/wizard: select satellite 2020-11-10 15:26:05 -07:00
metric-receiver cmd/metric-receiver: restore minimal metrics server 2020-10-14 20:01:29 +03:00
multinode cmd/multinode: create schema command added, run command bug fixed 2020-11-12 18:00:18 +00:00
satellite cmd/satellite: ignore Canceled in exit from repair worker 2020-11-17 21:37:59 +00:00
segment-reaper storage/{cockroachkv,postgreskv}: add ctx to opening 2020-10-29 10:49:08 +00:00
storagenode {cmd,private,storagenode}: create storage dir verification during setup 2020-11-11 11:01:36 -05:00
storagenode-updater storagenode-updater: check binary version on self-update 2020-10-21 10:54:26 +00:00
storj-admin all: fix linter complaints 2020-10-13 15:59:01 +03:00
storj-sim cmd/storj-sim: add "tool wait-for <address>" 2020-11-16 20:38:56 +00:00
uplink cmd/uplink: add access register command 2020-11-10 15:25:57 -07:00
versioncontrol private/version: minimal fix for tag-release.sh 2020-04-01 13:46:45 +00:00