storj/satellite/repair
Márton Elek 84ea80c1fd satellite/repair/checker: respect autoExcludeSubnet anntation in checker rangedloop
This patch is a oneliner: rangedloop checker should check the subnets only if it's not turned off with placement annotation.
(see in satellite/repair/checker/observer.go).

But I didn't find any unit test to cover that part, so I had to write one, and I prefered to write it as a unit test not an integration test, which requires a mock repair queue (observer_unit_test.go mock.go).

Because it's small change, I also included a small change: creating a elper method to check if AutoExcludeSubnet annotation is defined

Change-Id: I2666b937074ab57f603b356408ef108cd55bd6fd
2023-08-23 13:45:09 +00:00
..
checker satellite/repair/checker: respect autoExcludeSubnet anntation in checker rangedloop 2023-08-23 13:45:09 +00:00
queue satellite/repair/checker: respect autoExcludeSubnet anntation in checker rangedloop 2023-08-23 13:45:09 +00:00
repairer satellite/repair/checker: respect autoExcludeSubnet anntation in checker rangedloop 2023-08-23 13:45:09 +00: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/overlay: refactor ReliabilityCache to keep more data 2023-07-05 11:19:10 +02:00
repair.go satellite/repair: move test files (#2649) 2019-07-28 12:15:34 +03:00