storj/satellite/repair/repairer
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
..
ec.go all: fix error checking 2020-07-16 19:13:14 +03:00
repairer.go all: fix dots 2020-07-16 14:58:28 +00:00
segments.go satellite/repair: update healthyPieces and unhealthyPieces after CreateGetRepairOrderLimits 2020-07-23 13:24:46 +00:00