storj/storagenode/gracefulexit
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
..
chore_test.go lower storage node counts in tests (#3427) 2019-10-31 10:57:54 -04:00
chore.go logging: unify logging around satellite ID, node ID and piece ID (#3491) 2019-11-05 22:04:07 +01:00
common.go storagenode/gracefulexit: allow storagenodes to concurrently transfer pieces for graceful exit (#3478) 2019-11-05 10:33:44 -05:00
endpoint_test.go add context.Clean and correct rpc error code (#3295) 2019-10-16 13:50:01 -04:00
endpoint.go logging: unify logging around satellite ID, node ID and piece ID (#3491) 2019-11-05 22:04:07 +01:00
worker_test.go lower storage node counts in tests (#3427) 2019-10-31 10:57:54 -04:00
worker.go Keep v0pieceinfo database isolated (#3364) 2019-11-13 13:15:31 -06:00