提交 4e42b8cf 编写于 作者: S Shengliang Guan

TD-1948

上级 141cc3d1
......@@ -580,6 +580,7 @@ static void syncChooseMaster(SSyncNode *pNode) {
pPeer = pNode->peerInfo[i];
if (pPeer->version == nodeVersion) {
pPeer->role = TAOS_SYNC_ROLE_SLAVE;
pPeer->sstatus = TAOS_SYNC_STATUS_CACHE;
sInfo("%s, it shall work as slave", pPeer->id);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册