3cc1a0b393
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 |
||
---|---|---|
.. | ||
cockroachutil | ||
dbschema | ||
pgtest | ||
pgutil | ||
sqliteutil | ||
tempdb | ||
txutil | ||
utccheck | ||
dbimplementation.go | ||
defaults.go | ||
mapping_test.go | ||
mapping.go | ||
nulltime.go | ||
split.go | ||
tempdbtype.go |