From 12ad8d2e6389e2923eafb3a757560f86e1c7b493 Mon Sep 17 00:00:00 2001 From: Tanjin Xu Date: Mon, 16 Oct 2023 13:34:48 -0700 Subject: [PATCH] add debugging --- go/vt/vttablet/tabletmanager/replmanager.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/go/vt/vttablet/tabletmanager/replmanager.go b/go/vt/vttablet/tabletmanager/replmanager.go index f3e00688f51..ef6070c8077 100644 --- a/go/vt/vttablet/tabletmanager/replmanager.go +++ b/go/vt/vttablet/tabletmanager/replmanager.go @@ -106,8 +106,10 @@ func (rm *replManager) checkActionLocked() { status, err := rm.tm.MysqlDaemon.ReplicationStatus() if err != nil { if err != mysql.ErrNotReplica { + log.Infof("slack: replication check err: %v", err) return } + log.Infof("slack: replication check err: %v", err) } else { // If only one of the threads is stopped, it's probably // intentional. So, we don't repair replication.