storj/satellite/overlay
Cameron Ayer dc67ce74c9 satellite: remove IsUp field from overlay.UpdateRequest
With the new overlay.AuditOutcome type for offline audits, the
IsUp field is redundant. If AuditOutcome != AuditOffline, then
the node is online.

In addition to removing the field itself, other changes needed
to be made regarding the relationship between 'uptime' and 'audits'.
Previously, uptime and audit outcome were completely separated. For
example, it was possible to update a node's stats to give it a
successful/failed/unknown audit while simultaneously indicating that
the node was offline by setting IsUp to false. This is no longer possible
under this changeset. Some test which did this have been changed slightly
in order to pass.

Also add new benchmarks for UpdateStats and BatchUpdateStats with different
audit outcomes.

Change-Id: I998892d615850b1f138dc62f9b050f720ea0926b
2020-11-02 15:34:17 -05:00
..
benchmark_test.go satellite: remove IsUp field from overlay.UpdateRequest 2020-11-02 15:34:17 -05:00
config.go satellite/overlay: uncomment dq for offline and disable with feature flag 2020-10-16 12:55:16 +00:00
inspector.go satellite/internalpb: add inspectors 2020-10-30 13:28:17 +02:00
nodeselectioncache_test.go satellite: remove IsUp field from overlay.UpdateRequest 2020-11-02 15:34:17 -05:00
nodeselectioncache.go all: fix dots 2020-07-16 14:58:28 +00: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 ci: test benchmarks 2020-07-10 13:26:49 +00:00
selection_test.go satellite: remove IsUp field from overlay.UpdateRequest 2020-11-02 15:34:17 -05:00
service_test.go satellite: remove IsUp field from overlay.UpdateRequest 2020-11-02 15:34:17 -05:00
service.go satellite: remove IsUp field from overlay.UpdateRequest 2020-11-02 15:34:17 -05:00
statdb_test.go satellite: remove IsUp field from overlay.UpdateRequest 2020-11-02 15:34:17 -05:00
suspension_test.go satellite: remove IsUp field from overlay.UpdateRequest 2020-11-02 15:34:17 -05:00