storj/satellite/repair/checker
Moby von Briesen 75f0f713a3 satellite/repair/checker/checker.go: Use number of healthy pieces instead of SegmentHealth for injured segments queue.
We did not test the SegmentHealth function with actual production
values, and it turns out that values such as 52 healthy, 35 minimum
result in +Inf segment health - so pretty much all segments put into the
repair queue have the same health, which means we effectively aren't
sorting by health.

This change inserts numHealthy as segment health into the database so
the segments are ordered as they were before. We need to refine the
SegmentHealth function before we can support multi RS.

Change-Id: Ief19bbfee3594c5dfe94ca606bc930f05f85ff74
2020-11-28 12:16:32 -05:00
..
checker_test.go all: fix linter complaints 2020-10-13 15:59:01 +03:00
checker.go satellite/repair/checker/checker.go: Use number of healthy pieces instead of SegmentHealth for injured segments queue. 2020-11-28 12:16:32 -05:00
config.go satellite/repair: Update repair override config to support multiple RS schemes. 2020-11-23 18:01:15 +00:00
online_test.go common: separate repository 2019-12-27 14:11:15 +02:00
online.go all: fix dots 2020-07-16 14:58:28 +00:00
override_test.go satellite/repair: Update repair override config to support multiple RS schemes. 2020-11-23 18:01:15 +00:00