Skip to content

Commit

Permalink
EXPERIMENTAL: do not close binlog connection on commit 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 7baa4f2 commit 88b8b61
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion go/vt/binlog/binlogplayer/dbclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 88b8b61

Please sign in to comment.