storj/cmd/satellite
Michal Niewrzal ec777855e1 cmd/satellite: add segment-repair command
Implements logic for satellite command to repair a single segment.
Segment will be repaired even if it's healthy. This is not checked
during this process. As a part of repair command will download whole
segment into memory and will try to reupload segment to number of new
nodes that equal to existing number of pieces. After successful
upload new pieces will completely replace existing pieces. 

Command:
    satellite repair-segment <streamid> <position>

https://github.com/storj/storj/issues/5254

Change-Id: I8e329718ecf8e457dbee3434e1c68951699007d9
2022-11-18 16:18:08 +01:00
..
reports cmd/satellite: add project ID, bucket name to partner attribution CSV 2022-06-01 20:27:12 +00:00
admin.go satellite: fix metabase configuration wiring 2022-11-02 15:17:34 +00:00
api.go satellite: fix metabase configuration wiring 2022-11-02 15:17:34 +00:00
billing_test.go cmd/satellite: change invoicing flags to iso8601 2022-10-07 07:58:23 -07:00
billing.go cmd/satellite: change invoicing flags to iso8601 2022-10-07 07:58:23 -07:00
compensation.go compensation: always generate invoices for every node 2021-03-29 14:15:45 +00:00
Dockerfile Dockerfiles: switch base image from alpine to Debian 2022-04-05 11:40:44 +00:00
entrypoint Dockerfiles: switch base image from alpine to Debian 2022-04-05 11:40:44 +00:00
fetchpieces.go satellite/overlay: add nodeevents.DB to satellite overlay service 2022-11-02 15:56:37 +00:00
gc-bf.go satellite: fix metabase configuration wiring 2022-11-02 15:17:34 +00:00
gc.go satellite: fix metabase configuration wiring 2022-11-02 15:17:34 +00:00
gracefulexit.go satellite/satellitedb: Use CRDB AS OF SYSTEM & batch for GE 2021-05-07 13:09:19 -04:00
main.go cmd/satellite: add segment-repair command 2022-11-18 16:18:08 +01: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
repair_segment_test.go cmd/satellite: add segment-repair command 2022-11-18 16:18:08 +01:00
repair_segment.go cmd/satellite: add segment-repair command 2022-11-18 16:18:08 +01:00
repairer.go satellite/overlay: add nodeevents.DB to satellite overlay service 2022-11-02 15:56:37 +00:00
satellite.yaml all: fix comments about grpc 2020-05-11 13:05:34 +03:00
testdata_test.go satellite: optional migration for integration tests 2022-10-04 11:35:03 +02:00
testdata.go {satellite/console,web/satellite}: get project salt from satellite 2022-10-12 19:06:27 +00:00
usage.go Allow for DB application names per process. (#3983) 2020-12-04 11:24:39 +01: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