storj/satellite/repair
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
..
checker satellite/repair: don't reuse allNodeIDs 2023-06-06 10:28:04 -05:00
queue storage: move errors to better locations 2023-04-06 17:26:29 +03:00
repairer satellite/repair: don't reuse allNodeIDs 2023-06-06 10:28:04 -05:00
clumping_test.go satellite/repair: repair pieces on the same last_net 2023-04-06 17:34:25 +00:00
clumping.go satellite/repair: repair pieces on the same last_net 2023-04-06 17:34:25 +00:00
priority_test.go satellite/repair: test inmemory/disk difference only once 2022-03-29 14:08:13 +03:00
priority.go all: reformat comments as required by gofmt 1.19 2022-08-10 18:24:55 +00:00
repair_test.go satellite/orders: remove unsed argument 2023-05-22 14:35:08 +00:00
repair.go satellite/repair: move test files (#2649) 2019-07-28 12:15:34 +03:00