storj/satellite/overlay
Moby von Briesen 2f991b6c56 satellite/{overlay, satellitedb}: account for suspended field in overlay cache
Make sure that suspended nodes are treated appropriately by the overlay
cache. This means we should expect the following behavior:
* suspended nodes (vetted or not) should not be selected for uploading
new segments
* suspended nodes should be treated by the checker and repairer as
"unhealthy", and should be removed upon successful repair

This commit also removes unused overlay functionality.

Fixes a bug with commit 8b72181a1f where
the audit reporter was automatically suspending nodes regardless of
audit outcome (see test added).

Tests:
* updates repair tests to ensure that a suspended node is treated as
unhealthy and will be removed from the pointer on successful repair
* updates overlay tests for KnownUnreliableOrOffline and KnownReliable
to expect suspended nodes to be considered "unreliable"
* adds satellitedb test that ensures overlay.SelectStorageNodes and
overlay.SelectNewStorageNodes do not include suspended nodes
* adds audit reporter test to ensure that different audit outcomes
result in the correct suspended/disqualified states

Change-Id: I40dba67278c8e8d2ce0bcec5e0a5cb6e4ce2f561
2020-03-17 17:14:56 +00:00
..
benchmark_test.go satellite/{audit,overlay,satellitedb}: implement unknown audit reputation and suspension 2020-03-16 20:29:26 +00:00
config.go satellite/overlay: add config flag for node selection free disk requirement 2020-02-11 18:08:25 +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: use IP for all uplink operations, use hostname for audit and repairs 2020-03-11 09:11:40 -07:00
selection_test.go satellite/{audit,overlay,satellitedb}: implement unknown audit reputation and suspension 2020-03-16 20:29:26 +00:00
service_test.go satellite/{overlay, satellitedb}: account for suspended field in overlay cache 2020-03-17 17:14:56 +00:00
service.go satellite/{overlay, satellitedb}: account for suspended field in overlay cache 2020-03-17 17:14:56 +00:00
statdb_test.go satellite/{overlay, satellitedb}: account for suspended field in overlay cache 2020-03-17 17:14:56 +00:00
suspension_test.go satellite/{audit,overlay,satellitedb}: implement unknown audit reputation and suspension 2020-03-16 20:29:26 +00:00