3900dadafd
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 |
||
---|---|---|
.. | ||
accounting | ||
attribution | ||
audit | ||
console | ||
contact | ||
dbcleanup | ||
downtime | ||
gc | ||
gracefulexit | ||
inspector | ||
mailservice | ||
marketingweb | ||
metainfo | ||
metrics | ||
nodestats | ||
orders | ||
overlay | ||
payments | ||
referrals | ||
repair | ||
rewards | ||
satellitedb | ||
vouchers | ||
api.go | ||
core.go | ||
peer.go | ||
repairer.go |