storj/storagenode/storagenodedb/testdata
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
..
sqlite.v0.sql storagenode: remove datetime calls in favor of UTC (#2557) 2019-07-15 13:38:08 -04:00
sqlite.v1.sql storagenode: remove datetime calls in favor of UTC (#2557) 2019-07-15 13:38:08 -04:00
sqlite.v2.sql storagenode: remove datetime calls in favor of UTC (#2557) 2019-07-15 13:38:08 -04:00
sqlite.v3.sql storagenode: remove datetime calls in favor of UTC (#2557) 2019-07-15 13:38:08 -04:00
sqlite.v4.sql storagenode: remove datetime calls in favor of UTC (#2557) 2019-07-15 13:38:08 -04:00
sqlite.v5.sql storagenode: remove datetime calls in favor of UTC (#2557) 2019-07-15 13:38:08 -04:00
sqlite.v6.sql storagenode: remove datetime calls in favor of UTC (#2557) 2019-07-15 13:38:08 -04:00
sqlite.v7.sql storagenode: remove datetime calls in favor of UTC (#2557) 2019-07-15 13:38:08 -04:00
sqlite.v8.sql storagenode: remove datetime calls in favor of UTC (#2557) 2019-07-15 13:38:08 -04:00
sqlite.v9.sql storagenode: remove datetime calls in favor of UTC (#2557) 2019-07-15 13:38:08 -04:00
sqlite.v10.sql storagenode: remove datetime calls in favor of UTC (#2557) 2019-07-15 13:38:08 -04:00
sqlite.v11.sql SN DB Optimization: Add rollups to bandwidth usage (#2541) 2019-07-16 10:58:58 -04:00
sqlite.v12.sql Network Wipe (Pre Beta) (#2566) 2019-07-16 18:31:29 +02:00
sqlite.v13.sql Network Wipe (Pre Beta) (#2566) 2019-07-16 18:31:29 +02:00
sqlite.v14.sql Remove orphaned tmp data from Storagenodes (#2582) 2019-07-17 16:00:37 +03:00
sqlite.v15.sql move piece info into files (#2629) 2019-08-07 20:47:30 -05:00
sqlite.v16.sql storagenode/nodestats: cache node stats (#2543) 2019-08-08 16:47:04 +03:00
sqlite.v17.sql storagenode: add space used cache for pieces (#2753) 2019-08-12 14:43:05 -07:00