storj/satellite/repair
Cameron Ayer e14f7a3fb4 satellite/repair: update healthyPieces and unhealthyPieces after CreateGetRepairOrderLimits
Inside CreateGetRepairOrderLimits we pass in a list of healthy pieces,
but when we query node info from this list we apply the "reliable" filter
again. We sometimes end up with nodes which at first were healthy, but then
became unhealthy, and thus can be repaired, but we do not update the 'unhealthyPieces'
list with these nodes.

This causes an error, 'piece to add already exists', as we fail to remove these
pieces from the pointer before replacing them with repaired pieces.

Change-Id: I6e2445f342ac117ded30351fa7e5e523c9ec26bd
2020-07-23 13:24:46 +00:00
..
checker all: fix dots 2020-07-16 14:58:28 +00:00
irreparable all: fix dots 2020-07-16 14:58:28 +00:00
queue satellite: fix string(int) conversions 2020-06-12 06:41:34 +00:00
repairer satellite/repair: update healthyPieces and unhealthyPieces after CreateGetRepairOrderLimits 2020-07-23 13:24:46 +00:00
repair_test.go all: fix dots 2020-07-16 14:58:28 +00:00
repair.go satellite/repair: move test files (#2649) 2019-07-28 12:15:34 +03:00