Commit 5d46b050 authored by yukang's avatar yukang Committed by vipwzw

Modify some code for merge

parent e5aad0ec
......@@ -170,8 +170,9 @@ func (client *commitMsgClient) isSync() bool {
return false
}
if atomic.LoadInt32(&client.paraClient.syncCaughtUpAtom) != 1 {
plog.Info("para is not Sync", "syncCaughtUpAtom", atomic.LoadInt32(&client.paraClient.syncCaughtUpAtom))
if !client.paraClient.SyncHasCaughtUp() {
plog.Info("para is not Sync", "syncCaughtUp", client.paraClient.SyncHasCaughtUp())
return false
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment