storj/satellite/overlay
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
..
straynodes satellite/overlay/straynodes: prevent disqualification in tests 2021-11-09 12:29:21 +00:00
benchmark_test.go satellite/satellitedb: simplify select nodes query construction 2021-10-22 07:41:07 +00:00
checkin_test.go mod: bump common to fetch latest placement type changes 2021-11-16 12:42:25 +00:00
config.go satellite/checker: pieces in excluded countries are not healthy 2022-03-02 09:59:09 +00:00
db_test.go satellite/{audit, reputation}: fix potential nodes reputation status 2022-01-06 21:05:59 +00:00
downloadselection_test.go satellite/overlay: add DownloadSelectionCache 2021-01-29 16:47:06 +02:00
downloadselection.go satellite/overlay: add DownloadSelectionCache 2021-01-29 16:47:06 +02:00
peeridentities_test.go satellite/satellitedb/satellitedbtest: pass ctx as an argument 2020-01-20 16:35:42 +02:00
peeridentities.go all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
piececount_test.go ci: test benchmarks 2020-07-10 13:26:49 +00:00
selection_test.go satellite/{audit, reputation}: fix potential nodes reputation status 2022-01-06 21:05:59 +00:00
service_test.go satellite/checker: pieces in excluded countries are not healthy 2022-03-02 09:59:09 +00:00
service.go satellite/checker: pieces in excluded countries are not healthy 2022-03-02 09:59:09 +00:00
statdb_test.go satellite/checker: pieces in excluded countries are not healthy 2022-03-02 09:59:09 +00:00
uploadselection_test.go satellite/overlay: remove reputation logic from overlay 2021-07-28 15:15:28 -04:00
uploadselection.go satellite/metainfo: propagate geofencing between buckets and stream id 2021-11-24 08:05:05 +00:00