feat(enterprise): add ready for handshake support to pgcoord (#12935)

This commit is contained in:
Colin Adler
2024-04-16 15:01:10 -05:00
committed by GitHub
parent 942e90270e
commit 777dfbe965
10 changed files with 364 additions and 82 deletions

View File

@ -103,7 +103,7 @@ func (q *sqlQuerier) InTx(function func(Store) error, txOpts *sql.TxOptions) err
// Transaction succeeded.
return nil
}
if err != nil && !IsSerializedError(err) {
if !IsSerializedError(err) {
// We should only retry if the error is a serialization error.
return err
}