storj/satellite/repair/checker
Fadila Khadar e776c65172 satellite/checker: pieces in excluded countries are not healthy
Add a RepairExcludedCountryCodes config flag for overlay for providing a list of country codes to exclude nodes from target repair selection.

Mark segments with less than repairThreshold pieces in countries not in the RepairExcludedCountryCodes as not healthy.
With this change, the repair process is not affected. The segment will be removed from the repair queue by the repairer.

Another change will handle the logic at the repairer level.

Fixes https://github.com/storj/team-metainfo/issues/95

Change-Id: I9231b32de117a116488de055a3e94efcabb46e81
2022-03-02 09:59:09 +00:00
..
checker_test.go satellite/checker: pieces in excluded countries are not healthy 2022-03-02 09:59:09 +00:00
checker.go satellite/repair: add logging for irreparable segments in checker 2021-09-02 12:35:29 -04:00
checkerstats.go satellite/repair/checker: move checker to segment loop 2021-07-01 13:51:56 +00:00
config.go satellite: remove irreparabledb 2021-06-17 07:20:15 +00:00
online_test.go satellite/metabase: move package one level higher 2021-04-21 15:54:22 +03:00
online.go satellite/repair: add logging for irreparable segments in checker 2021-09-02 12:35:29 -04:00
override_test.go satellite/repair: Update repair override config to support multiple RS schemes. 2020-11-23 18:01:15 +00:00