storj/storage
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
..
boltdb CompareAndSwap in KeyValueStore (#2602) 2019-07-23 22:46:33 +03:00
filestore move piece info into files (#2629) 2019-08-07 20:47:30 -05:00
postgreskv CompareAndSwap in KeyValueStore (#2602) 2019-07-23 22:46:33 +03:00
redis satellite/overlay: rename overlay.Cache to overlay.Service (#2717) 2019-08-06 19:35:59 +03:00
storelogger CompareAndSwap in KeyValueStore (#2602) 2019-07-23 22:46:33 +03:00
teststore CompareAndSwap in KeyValueStore (#2602) 2019-07-23 22:46:33 +03:00
testsuite CompareAndSwap in KeyValueStore (#2602) 2019-07-23 22:46:33 +03:00
blob.go move piece info into files (#2629) 2019-08-07 20:47:30 -05:00
common.go CompareAndSwap in KeyValueStore (#2602) 2019-07-23 22:46:33 +03:00
iterator.go storage: add monkit task to missing places (#2122) 2019-06-05 16:23:10 +02:00
listkeys.go Stylistic Go Cleanup (#2524) 2019-07-22 15:10:04 -04:00
listv2.go storage: add monkit task to missing places (#2122) 2019-06-05 16:23:10 +02:00
util.go storage: add monkit task to missing places (#2122) 2019-06-05 16:23:10 +02:00