From cb99a2443fc4818c0521535d4afc45e8add71685 Mon Sep 17 00:00:00 2001 From: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com> Date: Tue, 19 Nov 2024 09:00:16 +0200 Subject: [PATCH] exlude zero error Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com> --- go/vt/vttablet/tabletmanager/vreplication/utils.go | 1 + 1 file changed, 1 insertion(+) diff --git a/go/vt/vttablet/tabletmanager/vreplication/utils.go b/go/vt/vttablet/tabletmanager/vreplication/utils.go index 534d5d73c37..67b52c56261 100644 --- a/go/vt/vttablet/tabletmanager/vreplication/utils.go +++ b/go/vt/vttablet/tabletmanager/vreplication/utils.go @@ -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,