storj/storagenode/storagenodedb
Egon Elbre 1279eeae39 private/tagsql,storage: fixes to context cancellation
Replace all the remaining uses of sql.DB with tagsql.DB to
fix issues with context cancellation.

Introduce tagsql.Open which helps to get rid of all tagsql.Wrap-s.
Use tagsql in cockroachkv and postgreskv.

Change-Id: I8946d203341cb85a25976896fc7881e1f704e779
2020-01-20 15:44:39 +02:00
..
storagenodedbtest storagenode/gracefulexit: move database test 2020-01-19 18:12:01 +00:00
testdata private/dbutil/sqliteutil: add ctx argument 2020-01-13 15:03:30 +02:00
bandwidthdb.go storagenode/storagenodedb: fixes to row handling 2020-01-16 15:08:37 +00:00
database.go private/tagsql,storage: fixes to context cancellation 2020-01-20 15:44:39 +02:00
db_container.go private/tagsql,storage: fixes to context cancellation 2020-01-20 15:44:39 +02: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 storagenode/storagenodedb: fixes to row handling 2020-01-16 15:08:37 +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/storagenodedb: fixes to row handling 2020-01-16 15:08:37 +00: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 cmd/storagenode;storagenode/storagenodedb: add preflight database check 2020-01-16 18:44:46 +00:00
schemagen.go cmd/storagenode;storagenode/storagenodedb: add preflight database check 2020-01-16 18:44:46 +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