fix consensus catchup issue

pull/4474/head
“GheisMohammadi” 1 year ago
parent 944b8c73d0
commit cfa06d413e
No known key found for this signature in database
GPG Key ID: 15073AED3829FE90
  1. 2
      node/node_syncing.go

@ -352,7 +352,7 @@ func (node *Node) NodeSyncing() {
if node.HarmonyConfig.TiKV.Role == tikv.RoleWriter {
node.supportSyncing() // the writer needs to be in sync with it's other peers
}
} else if !node.HarmonyConfig.General.IsOffline && node.HarmonyConfig.DNSSync.Client {
} else if !node.HarmonyConfig.General.IsOffline && (node.HarmonyConfig.DNSSync.Client || node.HarmonyConfig.Sync.Downloader) {
node.supportSyncing() // for non-writer-reader mode a.k.a tikv nodes
}
}

Loading…
Cancel
Save