storj/storagenode/storagenodedb
Yaroslav Vorobiov 4d2a505788 storagenode/db: explicitly open and create dbs
To prevent storagenode from implicitly recreating missing dbs and storage,
as such behaviour leads to audit failures. Do not allow storagenode to
start if any of dbs or storage is missing, corrupted, or dedicated storage disk is
unmounted, to get downtime instead.

Change-Id: Ic64e1f0ff4d8ef5b2fddbe7a7e53df4f4bd8652e
2020-07-24 14:08:47 +03:00
..
storagenodedbtest storagenode/piecestore: switch usedserials db for in-memory usedserials store 2020-05-28 12:52:52 -04:00
testdata all: fix dots 2020-07-16 14:58:28 +00:00
bandwidthdb.go all: fix dots 2020-07-16 14:58:28 +00:00
database.go storagenode/db: explicitly open and create dbs 2020-07-24 14:08:47 +03:00
db_container.go private/dbutil/txutil: create new transactions for retries 2020-02-01 18:34:28 +00:00
deprecatedinfo.go storagenodedb: reenable utccheck in tests 2019-12-10 23:17:14 +00:00
heldamount.go all: fix error checking 2020-07-16 19:13:14 +03:00
migrations_test.go all: fix dots 2020-07-16 14:58:28 +00:00
notifications.go all: simplify uuid usage 2020-04-02 05:48:58 +00:00
orders.go all: fix dots 2020-07-16 14:58:28 +00:00
pieceexpiration.go all: fix dots 2020-07-16 14:58:28 +00:00
pieceinfo.go all: fix dots 2020-07-16 14:58:28 +00:00
piecespaceused.go all: fix dots 2020-07-16 14:58:28 +00:00
pricing.go all: replace == comparison with errors.Is 2020-07-14 15:50:25 +00:00
reputation.go all: fix dots 2020-07-16 14:58:28 +00:00
satellites.go all: fix dots 2020-07-16 14:58:28 +00:00
schema.go storagenode/heldamount: payents added to db 2020-06-30 17:24:35 +03:00
schemagen.go all: rename CreateTables to MigrateToLatest 2020-04-30 07:21:17 +00:00
storageusage.go all: fix dots 2020-07-16 14:58:28 +00:00
usedserials.go storagenode/piecestore: switch usedserials db for in-memory usedserials store 2020-05-28 12:52:52 -04:00