diff --git a/monitor/monitor.go b/monitor/monitor.go index a48a0f5..159981c 100644 --- a/monitor/monitor.go +++ b/monitor/monitor.go @@ -130,7 +130,7 @@ func (node *clientNode) nodeStatusReport() { node.nodeTimeGap.Set(float64(timeGap)) } - if !follow { + if follow { node.syncWorkWay.Set(float64(SyncTaskFollowing)) } else { node.syncWorkWay.Set(float64(SyncTaskCatchingUp))