storj/cmd/satellite
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
..
reports satellite: pass ctx into satellitedb.Open 2020-10-29 06:38:37 +00:00
admin.go satellite: pass ctx into satellitedb.Open 2020-10-29 06:38:37 +00:00
api.go storage/{cockroachkv,postgreskv}: add ctx to opening 2020-10-29 10:49:08 +00:00
billing.go satellite: pass ctx into satellitedb.Open 2020-10-29 06:38:37 +00:00
compensation.go satellite: pass ctx into satellitedb.Open 2020-10-29 06:38:37 +00:00
Dockerfile cmd/satellite: Remove curl from Dockerfile 2020-10-08 20:59:05 +02:00
entrypoint cmd/satellite: clean up entrypoint (#3910) 2020-06-22 21:06:31 +02:00
gc.go storage/{cockroachkv,postgreskv}: add ctx to opening 2020-10-29 10:49:08 +00:00
gracefulexit.go satellite: pass ctx into satellitedb.Open 2020-10-29 06:38:37 +00:00
main.go storage/{cockroachkv,postgreskv}: add ctx to opening 2020-10-29 10:49:08 +00:00
output.go satellite: compensation package and commands 2020-03-30 14:08:14 -06:00
README.md hc to satellite rename (#282) 2018-08-29 14:32:41 -04:00
repairer.go cmd/satellite: ignore Canceled in exit from repair worker 2020-11-17 21:37:59 +00:00
satellite.yaml all: fix comments about grpc 2020-05-11 13:05:34 +03:00
usage.go satellite: pass ctx into satellitedb.Open 2020-10-29 06:38:37 +00:00

Satellite

Documentation for developing and building the satellite service

Usage:

First make an identity:

go install storj.io/storj/cmd/satellite
satellite setup

You can edit ~/.storj/satellite/config.yaml to your liking. Then run it!

satellite run