storj/storagenode/storagenodedb
paul cannon bd89f51c66
Keep v0pieceinfo database isolated (#3364)
* put TestCreateV0 back in StoreForTest
* avoid direct handles to V0 pieceinfo db
* type mismatch fix
* use storage.Blobs interface in store_test.go

..instead of filestore.Store. this will allow filestore.Store to become
unexported.

* unexport filestore.Store

rename it to blobStore. things should use the storage.Blobs interface
instead. changes in this commit are purely mechanical (made through the
"refactor" tool in Gocode followed by search/replace on the word "Store"
within the storage/filestore/ directory).

* kill filestore.StoreForTest

now that filestore.blobStore is unexported, there isn't a need for a
specialized wrapper type. this (not coincidentally) also makes it
possible for the WriterForFormatVersion() method on
storagenode/pieces.StoreForTest to work, without requiring everything to
wrap the store.blobs attribute in a filestore.StoreForTest, which was
impractical.
2019-11-13 13:15:31 -06:00
..
storagenodedbtest storagenode/gracefulexit: Exclude finished exits from chore/worker processing. Fix update status bug (#3399) 2019-10-28 13:59:45 -04:00
testdata storagenode/storagenodedb: add SQL receiver logic for graceful exit (#3067) 2019-10-01 10:34:03 -04:00
bandwidthdb.go storagenode/storagenodedb: refactor both data access objects and migrations to support multiple DB connections (#3057) 2019-09-18 12:17:28 -04:00
database.go Keep v0pieceinfo database isolated (#3364) 2019-11-13 13:15:31 -06:00
deprecatedinfo.go storagenode/storagenodedb: refactor both data access objects and migrations to support multiple DB connections (#3057) 2019-09-18 12:17:28 -04:00
migratableDB.go storagenode/storagenodedb: Migrate to separate dbs (#3081) 2019-09-23 12:36:46 -07:00
migrations_test.go storagenode/storagenodedb: Migrate to separate dbs (#3081) 2019-09-23 12:36:46 -07:00
orders.go storagenode/storagenodedb: refactor both data access objects and migrations to support multiple DB connections (#3057) 2019-09-18 12:17:28 -04:00
pieceexpiration.go storagenode/storagenodedb: refactor both data access objects and migrations to support multiple DB connections (#3057) 2019-09-18 12:17:28 -04:00
pieceinfo.go storagenode/storagenodedb: refactor both data access objects and migrations to support multiple DB connections (#3057) 2019-09-18 12:17:28 -04:00
piecespaceused.go storagenode/storagenodedb: refactor both data access objects and migrations to support multiple DB connections (#3057) 2019-09-18 12:17:28 -04:00
reputation.go storagenode/storagenodedb: refactor both data access objects and migrations to support multiple DB connections (#3057) 2019-09-18 12:17:28 -04:00
satellites.go storagenode/gracefulexit: Exclude finished exits from chore/worker processing. Fix update status bug (#3399) 2019-10-28 13:59:45 -04:00
storageusage.go storagenode/storagenodedb: add SQL receiver logic for graceful exit (#3067) 2019-10-01 10:34:03 -04:00
usedserials.go storagenode/storagenodedb: refactor both data access objects and migrations to support multiple DB connections (#3057) 2019-09-18 12:17:28 -04:00