storj/satellite/repair/repairer
paul cannon 25a5df9752 satellite/repair: don't reuse allNodeIDs
We were reusing a slice to save on allocations, but it turns out the
function using it was being called in multiple goroutines at the same
time.

This is definitely a problem with repairer/segments.go. I'm not 100%
sure if it also is a problem with checker/observer.go, but I'm making
the change there as well to be on the safe side for now.

Repair workers only ran with this bug on testing satellites, and it
looks like the worst that could have happened was that we repaired
pieces off of well-behaved, non-clumped, in-placement nodes by mistake.

Change-Id: I33c112b05941b63d066caab6a34a543840c6b85d
2023-06-06 10:28:04 -05:00
..
ec.go satellite/repair: fix flaky TestFailedDataRepair and friends 2023-04-04 18:08:52 +00:00
repairer.go satellite/repair/repairer: repair pieces out of placement 2023-06-05 14:48:36 +00:00
segments_test.go satellite/repair/repairer: repair pieces out of placement 2023-06-05 14:48:36 +00:00
segments.go satellite/repair: don't reuse allNodeIDs 2023-06-06 10:28:04 -05:00
stats.go satellite/repair/repairer: a new set of rs_scheme tagged metrics 2021-02-09 14:19:22 +00:00