storj/storagenode/piecestore
Jess G 022f5d2e14
storagenode: add space used cache for pieces (#2753)
* add cache, update cache w/piece create/delete

* add service w/loop to cache to recalculate space used cache

* add piecestore cache to other sn svcs to use

* add table to persist the total space used

* rm cache where not needed

* rm stuff from sn svcs

* start fixing tests, changes per comments

* update commits

* add unit tests

* fix commiting before we write header bytes

* fix cache create test

* copy cache map, add started back to recalc

* fix test

* add test, update comments
2019-08-12 14:43:05 -07:00
..
endpoint_test.go storagenode: add space used cache for pieces (#2753) 2019-08-12 14:43:05 -07:00
endpoint.go storagenode: add space used cache for pieces (#2753) 2019-08-12 14:43:05 -07:00
serials_test.go storagenode/storagenodedb: move tests near the interface rather than the implementation (#2596) 2019-07-19 20:40:27 +03:00
serials.go Add serial number type (#1508) 2019-03-18 15:08:24 +02:00
verification_test.go storagenode: add space used cache for pieces (#2753) 2019-08-12 14:43:05 -07:00
verification.go storagenode: Report gRPC error when satellite is untrusted (#2658) 2019-07-30 18:58:08 +02:00