storj/satellite/audit
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
..
chore.go satellite/audit/queue: Separate audit queue into two separate structs. 2020-08-31 20:51:25 +00:00
containment_test.go {satellite/audit, private/testplanet}: remove ErrAlreadyExists, run 2 audit workers in testplanet 2020-06-30 18:00:07 +00:00
containment.go all: add missing dots 2020-08-11 17:50:01 +03:00
cryptosource.go all: fix dots 2020-07-16 14:58:28 +00:00
disqualification_test.go satellite: remove IsUp field from overlay.UpdateRequest 2020-11-02 15:34:17 -05:00
getshare_test.go satellite/audit: use LastIPAndPort preferentially 2020-10-21 13:34:40 +00:00
integration_test.go satellite/audit/queue: Separate audit queue into two separate structs. 2020-08-31 20:51:25 +00:00
pathcollector_test.go satellite: fix string(int) conversions 2020-06-12 06:41:34 +00:00
pathcollector.go satellite/metainfo: get away from using pb.Pointer in Metainfo Loop 2020-10-27 13:06:47 +00:00
queue_test.go satellite/audit/queue: Separate audit queue into two separate structs. 2020-08-31 20:51:25 +00:00
queue.go satellite/audit/queue: Separate audit queue into two separate structs. 2020-08-31 20:51:25 +00:00
reporter_test.go satellite/{audit,overlay,satellitedb}: enable reporting offline audits 2020-10-27 10:44:46 +00:00
reporter.go satellite: remove IsUp field from overlay.UpdateRequest 2020-11-02 15:34:17 -05:00
reservoir.go all: fix dots 2020-07-16 14:58:28 +00:00
reverify_test.go satellite/audit: do not delete expired segments 2020-10-22 08:24:16 +00:00
verifier_test.go cmd/satellite: remove metainfo commands (#3955) 2020-10-22 13:33:09 +03:00
verifier_unit_test.go satellite/audit: depend less on details of some error message 2020-06-05 10:39:05 -06:00
verifier.go cmd/satellite: remove metainfo commands (#3955) 2020-10-22 13:33:09 +03:00
worker.go satellite/audit/queue: Separate audit queue into two separate structs. 2020-08-31 20:51:25 +00:00