storj/satellite/overlay
Natalie Ventura Villasana 3900dadafd satellite/overlay: find new nodes with ExcludedIPs
Adds ExcludedIPs to the NodeCriteria for selecting new storage
nodes. Previously, ExcludedIPs was only added to the NodeCriteria
for selecting reputable storage nodes. Now that both are included
in the FindStorageNodesWithPreferences call, it should no longer
be possible to repair pieces to nodes that are on the same IP as
nodes already storing pieces from that segment.
Adds TestSelectNewStorageNodesExcludedIPs to make sure that
SelectNewStorageNodes returns nodes with different IP addresses.

https://storjlabs.atlassian.net/browse/V3-3011

Change-Id: Ic2d5e607cadeba6e8d5c40f9717149cb30880335
2020-02-10 23:45:17 +00:00
..
benchmark_test.go satellite: remove UptimeReputation configs from codebase 2020-01-08 18:54:15 +00:00
combinedcache.go common: separate repository 2019-12-27 14:11:15 +02:00
config.go all: use monkit v3 2020-02-05 23:53:17 +00:00
inspector.go common: separate repository 2019-12-27 14:11:15 +02:00
keylock_test.go common: separate repository 2019-12-27 14:11:15 +02:00
keylock.go common: separate repository 2019-12-27 14:11:15 +02:00
peeridentities_test.go satellite/satellitedb/satellitedbtest: pass ctx as an argument 2020-01-20 16:35:42 +02:00
peeridentities.go common: separate repository 2019-12-27 14:11:15 +02:00
piececount_test.go satellite/satellitedb/satellitedbtest: pass ctx as an argument 2020-01-20 16:35:42 +02:00
selection_test.go satellite/overlay: find new nodes with ExcludedIPs 2020-02-10 23:45:17 +00:00
service_test.go satellite: use require.WithinDuration 2020-01-21 19:43:53 +02:00
service.go satellite/overlay: find new nodes with ExcludedIPs 2020-02-10 23:45:17 +00:00
statdb_test.go satellite/satellitedb/satellitedbtest: pass ctx as an argument 2020-01-20 16:35:42 +02:00