storj/satellite/audit
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
..
chore.go satellite: add control panel 2020-01-30 08:06:43 -05:00
containment_test.go common: separate repository 2019-12-27 14:11:15 +02:00
containment.go common: separate repository 2019-12-27 14:11:15 +02:00
cryptosource.go satellite/audit: worker now verifies and reverifies (#2965) 2019-09-11 18:37:01 -04:00
disqualification_test.go satellite/{audit,overlay,satellitedb}: implement unknown audit reputation and suspension 2020-03-16 20:29:26 +00:00
integration_test.go common: separate repository 2019-12-27 14:11:15 +02:00
pathcollector_test.go satellite/metainfo: move RS configuration to satellite 2020-01-22 09:33:53 +00:00
pathcollector.go common: separate repository 2019-12-27 14:11:15 +02:00
queue_test.go common: separate repository 2019-12-27 14:11:15 +02:00
queue.go common: separate repository 2019-12-27 14:11:15 +02:00
reporter_test.go satellite/{overlay, satellitedb}: account for suspended field in overlay cache 2020-03-17 17:14:56 +00:00
reporter.go satellite/{audit,overlay,satellitedb}: implement unknown audit reputation and suspension 2020-03-16 20:29:26 +00:00
reservoir.go common: separate repository 2019-12-27 14:11:15 +02:00
reverify_test.go satellite/{audit,overlay,satellitedb}: implement unknown audit reputation and suspension 2020-03-16 20:29:26 +00:00
testplanet_helpers_test.go common: separate repository 2019-12-27 14:11:15 +02:00
verifier_test.go satellite: remove some unnecessary UTC() calls 2020-03-13 13:49:44 +00:00
verifier_unit_test.go common: separate repository 2019-12-27 14:11:15 +02:00
verifier.go satellite: remove some unnecessary UTC() calls 2020-03-13 13:49:44 +00:00
worker.go satellite: add control panel 2020-01-30 08:06:43 -05:00