storj/cmd/satellite
paul cannon 915f3952af satellite/repair: repair pieces on the same last_net
We avoid putting more than one piece of a segment on the same /24
network (or /64 for ipv6). However, it is possible for multiple pieces
of the same segment to move to the same network over time. Nodes can
change addresses, or segments could be uploaded with dev settings, etc.
We will call such pieces "clumped", as they are clumped into the same
net, and are much more likely to be lost or preserved together.

This change teaches the repair checker to recognize segments which have
clumped pieces, and put them in the repair queue. It also teaches the
repair worker to repair such segments (treating clumped pieces as
"retrievable but unhealthy"; i.e., they will be replaced on new nodes if
possible).

Refs: https://github.com/storj/storj/issues/5391
Change-Id: Iaa9e339fee8f80f4ad39895438e9f18606338908
2023-04-06 17:34:25 +00: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/satellitedb: cleanup testing access 2023-02-06 14:36:11 +02:00
auditor.go satellite: cleanup orders dependencies 2023-03-09 13:34:21 +00:00
billing_test.go cmd/satellite: change invoicing flags to iso8601 2022-10-07 07:58:23 -07:00
billing.go satellite/payments: rename 'stripecoinpayments' package to 'stripe' 2023-04-06 16:51:43 +00: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 cmd/satellite: Add run auditor to satellite entrypoint. 2023-01-04 15:31:06 +00:00
fetchpieces.go satellite: cleanup orders dependencies 2023-03-09 13:34:21 +00:00
gc-bf.go satellite: use ranged loop with GC-GF peer 2023-02-13 18:32:21 +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 satellite/payments: rename 'stripecoinpayments' package to 'stripe' 2023-04-06 16:51:43 +00:00
output.go satellite: compensation package and commands 2020-03-30 14:08:14 -06:00
rangedloop.go {cmd/storj-sim, satellite/rangedloop}: added rangedloop to storj-sim, removed identity 2023-01-05 11:29:00 +00:00
README.md hc to satellite rename (#282) 2018-08-29 14:32:41 -04:00
repair_segment_test.go cmd/satellite: repair-segment; add option to process csv file directly 2022-11-18 17:40:17 +00:00
repair_segment.go satellite/repair: repair pieces on the same last_net 2023-04-06 17:34:25 +00:00
repairer.go satellite: cleanup orders dependencies 2023-03-09 13:34:21 +00: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