storj/satellite
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
..
accounting satellite/payments: Set proper defaults for the release (#3806) 2020-03-16 22:53:12 +01:00
admin satellite/admin: add project limit modification and authorization token 2020-02-17 07:56:16 +00:00
attribution satellite: remove some unnecessary UTC() calls 2020-03-13 13:49:44 +00:00
audit satellite/{overlay, satellitedb}: account for suspended field in overlay cache 2020-03-17 17:14:56 +00:00
console satellite/payments: More Cleanup and Satellite command to ensure we have stripe customers (#3805) 2020-03-16 20:34:15 +01:00
contact satellite/overlay: rm combinedcache, fix IP naming to be network (#3798) 2020-03-12 11:37:57 -07:00
dbcleanup satellite: remove some unnecessary UTC() calls 2020-03-13 13:49:44 +00:00
downtime satellite: remove some unnecessary UTC() calls 2020-03-13 13:49:44 +00:00
gc go.mod: update uplink 2020-02-21 16:08:12 +02:00
gracefulexit satellite: remove some unnecessary UTC() calls 2020-03-13 13:49:44 +00:00
heldamount storagenode/cache heldamount added 2020-03-16 00:28:35 +02:00
inspector go.mod: update uplink 2020-02-21 16:08:12 +02:00
mailservice all: use monkit v3 2020-02-05 23:53:17 +00:00
marketingweb common: separate repository 2019-12-27 14:11:15 +02:00
metainfo satellite/metainfo: check bucket existence on upload and listing 2020-03-17 15:43:22 +00:00
metrics all: use monkit v3 2020-02-05 23:53:17 +00:00
nodestats all: use monkit v3 2020-02-05 23:53:17 +00:00
orders satellite/orders: add tests for double sending the same order 2020-03-17 14:18:03 +00:00
overlay satellite/{overlay, satellitedb}: account for suspended field in overlay cache 2020-03-17 17:14:56 +00:00
payments satellite/payments: Set proper defaults for the release (#3806) 2020-03-16 22:53:12 +01:00
referrals all: use pbgrpc 2020-02-26 21:27:47 +02:00
repair satellite/{overlay, satellitedb}: account for suspended field in overlay cache 2020-03-17 17:14:56 +00:00
rewards satellite: remove some unnecessary UTC() calls 2020-03-13 13:49:44 +00:00
satellitedb satellite/{overlay, satellitedb}: account for suspended field in overlay cache 2020-03-17 17:14:56 +00:00
vouchers common: separate repository 2019-12-27 14:11:15 +02:00
admin.go storagenode: notifications on outdated software version 2020-03-02 16:48:02 +00:00
api.go satellite/payments: More Cleanup and Satellite command to ensure we have stripe customers (#3805) 2020-03-16 20:34:15 +01:00
core.go satellite/payments: More Cleanup and Satellite command to ensure we have stripe customers (#3805) 2020-03-16 20:34:15 +01:00
peer.go storagenode/cache heldamount added 2020-03-16 00:28:35 +02:00
repairer.go satellite/repair: put irreparable segments in irreparableDB 2020-03-09 21:45:16 +00:00