storj/satellite
Isaac Hess 14fd6a9ef0 storagenode/pieces: Track total piece size
This change updates the storagenode piecestore apis to expose access to
the full piece size stored on disk. Previously we only had access to
(and only kept a cache of) the content size used for all pieces. This
was inaccurate when reporting the amount of disk space used by nodes.

We now have access to the total content size, as well as the total disk
usage, of all pieces. The pieces cache also keeps a cache of the total
piece size along with the content size.

Change-Id: I4fffe7e1257e04c46021a2e37c5adc6fe69bee55
2020-01-23 11:00:24 -07:00
..
accounting satellite: use require.WithinDuration 2020-01-21 19:43:53 +02:00
attribution satellite/satellitedb/satellitedbtest: pass ctx as an argument 2020-01-20 16:35:42 +02:00
audit satellite/metainfo: move RS configuration to satellite 2020-01-22 09:33:53 +00:00
console satellite/metainfo: Rate limiting - API requests 2020-01-21 14:25:04 +00:00
contact satellite/contact; storagenode/preflight: add clock check on startup for storagenode 2020-01-15 15:35:26 +00:00
dbcleanup common: separate repository 2019-12-27 14:11:15 +02:00
downtime satellite: use require.WithinDuration 2020-01-21 19:43:53 +02:00
gc lib/uplinkc: fix test flakiness by setting MaxTimeSkew 2020-01-20 12:44:42 +00:00
gracefulexit satellite/metainfo: move RS configuration to satellite 2020-01-22 09:33:53 +00:00
inspector uplink: move to storj.io/uplink (#3746) 2020-01-08 15:40:19 +02:00
mailservice satellite/mailservice: move logging to send rendered async to cover template parsing (#3654) 2019-11-28 12:29:48 +02:00
marketingweb common: separate repository 2019-12-27 14:11:15 +02:00
metainfo storagenode/pieces: Track total piece size 2020-01-23 11:00:24 -07:00
metrics satellite/metainfo: move RS configuration to satellite 2020-01-22 09:33:53 +00:00
nodestats satellite: remove UptimeReputation configs from codebase 2020-01-08 18:54:15 +00:00
orders satellite/orders: Flush all pending bandwidth rollup writes on shutdown 2020-01-23 08:12:41 -07:00
overlay satellite: use require.WithinDuration 2020-01-21 19:43:53 +02:00
payments satellite/satellitedb/satellitedbtest: pass ctx as an argument 2020-01-20 16:35:42 +02:00
referrals common: separate repository 2019-12-27 14:11:15 +02:00
repair satellite/metainfo: move RS configuration to satellite 2020-01-22 09:33:53 +00:00
rewards common: separate repository 2019-12-27 14:11:15 +02:00
satellitedb storage: add configurable lookup limits 2020-01-22 21:35:56 +02:00
vouchers common: separate repository 2019-12-27 14:11:15 +02:00
api.go satellite/orders: Flush all pending bandwidth rollup writes on shutdown 2020-01-23 08:12:41 -07:00
core.go satellite/orders: Flush all pending bandwidth rollup writes on shutdown 2020-01-23 08:12:41 -07:00
peer.go private/testplanet: flatten migration for running tests 2020-01-22 15:09:11 +00:00
repairer.go satellite/orders: Flush all pending bandwidth rollup writes on shutdown 2020-01-23 08:12:41 -07:00