Skip to content

Commit

Permalink
add debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
tanjinx committed Oct 16, 2023
1 parent 6444a84 commit 12ad8d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions go/vt/vttablet/tabletmanager/replmanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 12ad8d2

Please sign in to comment.