storj/private/dbutil
Natalie Villasana 3cc1a0b393 dbutil/cockroachutil: make crdb retry when tcp error
Adds checks in the existing NeedsRetry cockroachutil method
to see if the error is from the net package and a tcp error,
in which case it should retry. Also adds checks for if the
error contains EOF-- we don't retry in this case because it's
unclear if the query succeeded or failed.
These checks are needed to prevent our app from crashing when
it gets "connection reset by peer" and other tcp errors that
we've seen frequently coming from the metainfo loop.

Change-Id: I194d4b120082393cb6dbda2dd86b44f4696a66a4
2021-02-08 08:49:22 +00:00
..
cockroachutil dbutil/cockroachutil: make crdb retry when tcp error 2021-02-08 08:49:22 +00:00
dbschema private/dbutil: don't sort column names in an index 2020-07-17 10:07:01 +00: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