storj/storagenode/storagenodedb
Moby von Briesen 178dbb4683 storagenode/storagenodedb: allow storagenodes to start test_table exists
In many cases when a storagenode fails the preflight check, it is due to
test_table existing, which is used to determine read/write capabilities
after the initial schema verification. If preflight ends early due to a
failure or stopped storagenode, it may not get the chance to drop this
table.

This change excludes test_table from the schema comparison to ensure
that it never prevents a storagenode from starting up.

It also adds Preflight DB test for storagenode.

Change-Id: Ib8e71df2e42fda3b2a364fbf7a801891c5831d39
2020-03-09 14:29:46 -04:00
..
storagenodedbtest storagenode/storagenodedb/storagenodedbtest: pass ctx as an argument 2020-01-20 16:56:12 +02:00
testdata storagenode: Prevent negative values in piece_space_used, migrate negatives to 0 2020-01-30 13:03:18 -05:00
bandwidthdb.go storagenode/bandwidth: fix tests to not fail for 10 hours near the end of the month 2020-01-31 16:25:52 -07:00
database.go storagenode/storagenodedb: allow storagenodes to start test_table exists 2020-03-09 14:29:46 -04: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
migrations_test.go cmd/storagenode;storagenode/storagenodedb: add preflight database check 2020-01-16 18:44:46 +00:00
notifications.go web/storagenode: notification logic implementation 2020-02-21 15:49:27 +00:00
orders.go storagenode/storagenodedb: use tagsql 2020-01-19 14:39:16 +02:00
pieceexpiration.go storagenode/storagenodedb: fixes to row handling 2020-01-16 15:08:37 +00:00
pieceinfo.go storagenode/storagenodedb: fixes to row handling 2020-01-16 15:08:37 +00:00
piecespaceused.go storagenode/pieces: Track total piece size 2020-01-23 11:00:24 -07:00
reputation.go storagenode/storagenodedb: fixes to row handling 2020-01-16 15:08:37 +00:00
satellites.go storagenode/storagenodedb: use tagsql 2020-01-19 14:39:16 +02:00
schema.go storagenode/pieces: Track total piece size 2020-01-23 11:00:24 -07:00
schemagen.go storagenode: fix global logger in tests 2020-01-31 14:09:28 +00:00
storageusage.go storagenode/storagenodedb: use tagsql 2020-01-19 14:39:16 +02:00
usedserials.go storagenode/{piecestore,storagenodedb}: use context in queries 2020-01-14 20:27:26 +00:00