storj/storagenode/console
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
..
consoleassets storagenode: embed the console into the binary and makefile (#3164) 2019-10-08 10:52:19 +02:00
consolenotifications storagenode/notifications: return unread count and fix json id, list-notifications method fix 2020-01-09 17:56:00 +00:00
consoleserver common: separate repository 2019-12-27 14:11:15 +02:00
bandwidth.go storagenode/console: use bytes for remaining info (#3186) 2019-10-04 18:17:28 +03:00
diskspace.go storagenode/console: use bytes for remaining info (#3186) 2019-10-04 18:17:28 +03:00
service.go storagenode/pieces: Track total piece size 2020-01-23 11:00:24 -07:00