storj/storagenode/piecestore
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
..
endpoint_test.go all: remove usages of testplanet.New 2020-01-22 22:42:57 +02:00
endpoint.go private/context2: add WithoutCancellation 2020-01-15 14:23:46 +02:00
serials_test.go storagenode/storagenodedb/storagenodedbtest: pass ctx as an argument 2020-01-20 16:56:12 +02:00
serials.go common: separate repository 2019-12-27 14:11:15 +02:00
verification_test.go storagenode/pieces: Track total piece size 2020-01-23 11:00:24 -07:00
verification.go storagenode: ensure we don't eat the underlying error 2020-01-14 20:26:23 +00:00