storj/satellite/repair
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
..
checker satellite/{satellitedb, repair/{queue, checker}}: Use new column "segmentHealth" instead of "numHealthy" in injured segments queue 2020-11-16 21:18:09 +00:00
irreparable satellite/repair: fix lastSeenSegmentKey bug in IrreparableProcess 2020-11-09 14:48:15 +00:00
queue satellite/{satellitedb, repair/{queue, checker}}: Use new column "segmentHealth" instead of "numHealthy" in injured segments queue 2020-11-16 21:18:09 +00:00
repairer cmd/satellite: ignore Canceled in exit from repair worker 2020-11-17 21:37:59 +00:00
priority_test.go satellite/{satellitedb, repair/{queue, checker}}: Use new column "segmentHealth" instead of "numHealthy" in injured segments queue 2020-11-16 21:18:09 +00:00
priority.go satellite/repair: add a repair health function 2020-11-11 18:48:51 +00:00
repair_test.go satellite/metainfo: Update metainfo RS config to more easily support multiple RS schemes. 2020-11-09 22:16:13 +00:00
repair.go satellite/repair: move test files (#2649) 2019-07-28 12:15:34 +03:00