Skip to content

Commit

Permalink
exlude zero error
Browse files Browse the repository at this point in the history
Signed-off-by: Shlomi Noach <[email protected]>
  • Loading branch information
shlomi-noach committed Nov 19, 2024
1 parent cea91ee commit cb99a24
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions go/vt/vttablet/tabletmanager/vreplication/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ func isUnrecoverableError(err error) bool {
case sqlerror.ERErrorDuringCommit:
switch sqlErr.HaErrorCode() {
case
0, // Not really a HA error.
sqlerror.HaErrLockDeadlock,
sqlerror.HaErrLockTableFull,
sqlerror.HaErrLockWaitTimeout,
Expand Down

0 comments on commit cb99a24

Please sign in to comment.