e14f7a3fb4
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 |
||
---|---|---|
.. | ||
checker | ||
irreparable | ||
queue | ||
repairer | ||
repair_test.go | ||
repair.go |