storj/satellite/accounting
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
..
live all: add pprof labels for debugger 2020-10-29 15:10:07 +00:00
projectbwcleanup satellite/accounting: fix build - time rounding 2020-08-31 09:37:13 -04:00
reportedrollup satellite/orders: use metabase types as arguments 2020-08-28 15:52:37 +03:00
rollup satellite: remove IsUp field from overlay.UpdateRequest 2020-11-02 15:34:17 -05:00
tally satellite/metainfo: get away from using pb.Pointer in Metainfo Loop 2020-10-27 13:06:47 +00:00
billing_test.go satellite/orders: rollout phase3 of SettlementWithWindow endpoint 2020-10-26 14:56:28 +00:00
bucketstats.go satellite/metainfo: use metabase in loop 2020-09-01 10:06:16 +00:00
bucketusage.go all: fix dots 2020-07-16 14:58:28 +00:00
common.go all: add missing dots 2020-08-11 17:50:01 +03:00
db_test.go satellite: make limits be nullable 2020-09-21 19:34:19 +00:00
db.go satellite/accounting: add cache for getting project storage and bw limits 2020-09-25 16:28:49 +00:00
projectlimitcache_test.go satellite/satellitedb: make limits per default NULL 2020-10-14 20:28:16 +00:00
projectlimitcache.go satellite/accounting: add cache for getting project storage and bw limits 2020-09-25 16:28:49 +00:00
projectusage_test.go satellite/accounting: add cache for getting project storage and bw limits 2020-09-25 16:28:49 +00:00
projectusage.go satellite/accounting: add cache for getting project storage and bw limits 2020-09-25 16:28:49 +00:00