From 88b8b61191fa3a94198c3ed046b2be71edf7c3b3 Mon Sep 17 00:00:00 2001 From: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com> Date: Tue, 19 Nov 2024 11:19:25 +0200 Subject: [PATCH] EXPERIMENTAL: do not close binlog connection on commit error Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com> --- go/vt/binlog/binlogplayer/dbclient.go | 1 - 1 file changed, 1 deletion(-) diff --git a/go/vt/binlog/binlogplayer/dbclient.go b/go/vt/binlog/binlogplayer/dbclient.go index c3463b4cc2c..e37b069bd9a 100644 --- a/go/vt/binlog/binlogplayer/dbclient.go +++ b/go/vt/binlog/binlogplayer/dbclient.go @@ -107,7 +107,6 @@ func (dc *dbClientImpl) Commit() error { _, err := dc.dbConn.ExecuteFetch("commit", 1, false) if err != nil { LogError("COMMIT failed w/ error", err) - dc.dbConn.Close() } return err }