storj/cmd/storagenode
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
..
dashboard.go add missing error handling (#2630) 2019-07-25 17:01:44 +02:00
dashboard.sh Merge alpha directory with main storagenode directory (#1817) 2019-04-23 17:51:04 +02:00
Dockerfile Merge alpha directory with main storagenode directory (#1817) 2019-04-23 17:51:04 +02:00
entrypoint cmd/storagenode: pull more things into releaseDefaults (#1980) 2019-05-21 13:48:47 +02:00
main.go storagenode: add space used cache for pieces (#2753) 2019-08-12 14:43:05 -07:00
storagenode.yaml rename farmers to storagenode (#275) 2018-08-24 21:52:58 -04:00