storj/storage/filestore
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
..
blob.go move piece info into files (#2629) 2019-08-07 20:47:30 -05:00
dir_test.go updates copyright 2018 to 2019 (#1133) 2019-01-24 15:15:10 -05:00
dir_unix.go filestore changes for piece store (#1437) 2019-03-11 10:06:56 +02:00
dir_windows.go Storage node and upload/download protocol refactor (#1422) 2019-03-18 12:55:06 +02:00
dir.go move piece info into files (#2629) 2019-08-07 20:47:30 -05:00
error.go updates copyright 2018 to 2019 (#1133) 2019-01-24 15:15:10 -05:00
store_test.go storagenode: add space used cache for pieces (#2753) 2019-08-12 14:43:05 -07:00
store.go storagenode: add space used cache for pieces (#2753) 2019-08-12 14:43:05 -07:00