storj/private/dbutil
Egon Elbre 32afbd0d15 satellite/satellitedb: faster test database setup
Pregenerate the database schema we should use for most tests.
Currently, Cockroach is slow with regards to migration and it's
better if it happens in as few transactions as possible.

This reduces test time from ~21min to ~15min.

Change-Id: Ife8117053e6b9ecf3c93fe63677edf15d4d7c254
2021-02-22 21:13:00 +02:00
..
cockroachutil dbutil/cockroachutil: make crdb retry when tcp error 2021-02-08 08:49:22 +00:00
dbschema satellite/satellitedb: faster test database setup 2021-02-22 21:13:00 +02:00
pgtest private/dbutil/pgtest: use round robin to pick databases 2020-11-06 12:55:55 +00:00
pgutil Allow for DB application names per process. (#3983) 2020-12-04 11:24:39 +01:00
sqliteutil all: fix defers in loop 2020-11-02 15:06:38 +02:00
tempdb storage/cockroachkv: add ctx argument 2020-01-13 15:57:47 +02:00
txutil private/dbutil/pgutil: ensure storagenode doesn't depend on pgx 2020-09-30 14:28:47 +00:00
utccheck all: fix dots 2020-07-16 14:58:28 +00:00
dbimplementation.go all: add missing dots 2020-08-11 17:50:01 +03:00
defaults.go private/{dbutil,tagsql}: pass ctx to database opening 2020-10-29 10:51:29 +00:00
mapping_test.go satellite: support pointing db components at different databases 2020-11-28 18:39:16 +00:00
mapping.go satellite: support pointing db components at different databases 2020-11-28 18:39:16 +00:00
nulltime.go mod: update sqlite module to v2.0.2 2020-01-08 21:21:15 +02:00
split.go all: use jackc/pgx in place of lib/pq 2020-07-13 15:54:41 +00:00
tempdbtype.go private/tagsql,storage: fixes to context cancellation 2020-01-20 15:44:39 +02:00