storj/satellite/repair
Cameron Ayer 8c52bb3a18 satellite/checker: use numHealthy as segment health in repair queue
A few weeks ago it was discovered that the segment health function
was not working as expected with production values. As a bandaid,
we decided to insert the number of healthy pieces into the segment
health column. This should have effectively reverted our means of
prioritizing repair to the previous implementation.

However, it turns out that the bandaid was placed into the code which
removes items from the irreparable db and inserts them into the repair
queue.

This change: insert number of healthy pieces into the repair queue in the
method, RemoteSegment

Change-Id: Iabfc7984df0a928066b69e9aecb6f615253f1ad2
2020-12-15 17:16:59 -05:00
..
checker satellite/checker: use numHealthy as segment health in repair queue 2020-12-15 17:16:59 -05:00
irreparable all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
queue satellite/repair: improve contention for injuredsegments table on CRDB 2020-12-10 09:51:26 -08:00
repairer all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01: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 all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
repair.go satellite/repair: move test files (#2649) 2019-07-28 12:15:34 +03:00