75f0f713a3
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 |
||
---|---|---|
.. | ||
checker | ||
irreparable | ||
queue | ||
repairer | ||
priority_test.go | ||
priority.go | ||
repair_test.go | ||
repair.go |