storj/storagenode/storagenodedb
paul cannon 17bdb5e9e5
move piece info into files (#2629)
Deprecate the pieceinfo database, and start storing piece info as a header to
piece files. Institute a "storage format version" concept allowing us to handle
pieces stored under multiple different types of storage. Add a piece_expirations
table which will still be used to track expiration times, so we can query it, but
which should be much smaller than the pieceinfo database would be for the
same number of pieces. (Only pieces with expiration times need to be stored in piece_expirations, and we don't need to store large byte blobs like the serialized
order limit, etc.) Use specialized names for accessing any functionality related
only to dealing with V0 pieces (e.g., `store.V0PieceInfo()`). Move SpaceUsed-
type functionality under the purview of the piece store. Add some generic
interfaces for traversing all blobs or all pieces. Add lots of tests.
2019-08-07 20:47:30 -05:00
..
storagenodedbtest Re-enable SN bandwidth rollups. Fix SN bandwidth rollup unique constraint issue. Re-organize service code (#2617) 2019-07-29 10:07:52 -04:00
testdata move piece info into files (#2629) 2019-08-07 20:47:30 -05:00
bandwidthdb.go Re-enable SN bandwidth rollups. Fix SN bandwidth rollup unique constraint issue. Re-organize service code (#2617) 2019-07-29 10:07:52 -04:00
consoledb.go SNO Dashboard API (#2427) 2019-07-17 14:42:00 +03:00
database.go move piece info into files (#2629) 2019-08-07 20:47:30 -05:00
infodb.go move piece info into files (#2629) 2019-08-07 20:47:30 -05:00
migrations_test.go storagenode/storagenodedb: move tests near the interface rather than the implementation (#2596) 2019-07-19 20:40:27 +03:00
orders.go storagenode: batch archiving unsent_orders (#2507) 2019-07-31 19:40:08 +03:00
pieceexpiration.go move piece info into files (#2629) 2019-08-07 20:47:30 -05:00
pieceinfo.go move piece info into files (#2629) 2019-08-07 20:47:30 -05:00
usedserials.go Network Wipe (Pre Beta) (#2566) 2019-07-16 18:31:29 +02:00
vouchers.go Remove GetValid, add GetAll to vouchers DB (#2594) 2019-07-19 10:52:44 -04:00