From 7335c67cbca1b4a011531f6f40a63949ecae6706 Mon Sep 17 00:00:00 2001 From: Vitaliy Mogilevskiy Date: Wed, 10 Jan 2024 17:41:16 -0800 Subject: [PATCH] debug-less --- go/vt/vttablet/tabletmanager/replmanager.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/go/vt/vttablet/tabletmanager/replmanager.go b/go/vt/vttablet/tabletmanager/replmanager.go index c92be9dc5fa..0b8948bd624 100644 --- a/go/vt/vttablet/tabletmanager/replmanager.go +++ b/go/vt/vttablet/tabletmanager/replmanager.go @@ -23,7 +23,6 @@ import ( "sync" "time" - "github.com/davecgh/go-spew/spew" "vitess.io/vitess/go/mysql" "vitess.io/vitess/go/timer" "vitess.io/vitess/go/vt/log" @@ -104,8 +103,9 @@ func (rm *replManager) check() { func (rm *replManager) checkActionLocked() { status, err := rm.tm.MysqlDaemon.ReplicationStatus() - log.Infof("vm-debug: %s", spew.Sdump(status)) + // log.Infof("vm-debug: %s", spew.Sdump(status)) if err != nil { + log.Infof("vm-debug: %v", err) if err != mysql.ErrNotReplica { return } @@ -113,7 +113,7 @@ func (rm *replManager) checkActionLocked() { // If only one of the threads is stopped, it's probably // intentional. So, we don't repair replication. if status.SQLHealthy() || status.IOHealthy() { - log.Infof("vm-debug: status.SQLHealthy:%v status.IOHealthy:%v", status.SQLHealthy(), status.IOHealthy()) + // log.Infof("vm-debug: status.SQLHealthy:%v status.IOHealthy:%v", status.SQLHealthy(), status.IOHealthy()) return }