storj/satellite/overlay
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
..
offlinenodes satellite/overlay/offlinenodes: insert offline nodes into node events 2022-11-18 12:10:06 -05:00
straynodes satellite/overlay: insert DQ node events for stray nodes 2022-11-04 15:48:17 +00:00
benchmark_test.go satellite/overlay: remove unused mail service from overlay 2023-03-09 12:17:35 +00:00
checkin_test.go mod: bump common to fetch latest placement type changes 2021-11-16 12:42:25 +00:00
config.go satellite/overlay: configurable meaning of last_net 2023-03-09 02:20:12 +00:00
db_test.go storj: upgrade to use latest storj/common NodeAddress 2023-01-25 01:37:26 +00:00
downloadselection_test.go satellite/overlay: insert DQ event into node events in overlay.DisqualifyNode 2022-11-04 15:18:31 +00:00
downloadselection.go satellite/{orders,overlay}: use cache for downloads 2022-07-12 11:04:34 +00:00
peeridentities_test.go satellite/satellitedb/satellitedbtest: pass ctx as an argument 2020-01-20 16:35:42 +02:00
peeridentities.go all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
piececount_test.go storj: upgrade to use latest storj/common NodeAddress 2023-01-25 01:37:26 +00:00
selection_test.go satellite/overlay: configurable meaning of last_net 2023-03-09 02:20:12 +00:00
service_test.go satellite/overlay: remove unused mail service from overlay 2023-03-09 12:17:35 +00:00
service.go satellite/repair: repair pieces on the same last_net 2023-04-06 17:34:25 +00:00
statdb_test.go storj: upgrade to use latest storj/common NodeAddress 2023-01-25 01:37:26 +00:00
uploadselection_test.go satellite/overlay: configurable meaning of last_net 2023-03-09 02:20:12 +00:00
uploadselection.go satellite/overlay: configurable meaning of last_net 2023-03-09 02:20:12 +00:00