提交 19bc7610 编写于 作者: 陶建辉(Jeff)'s avatar 陶建辉(Jeff)

compliing opton for sync

上级 b9c08aff
......@@ -249,13 +249,14 @@ int32_t vnodeOpen(int32_t vnode, char *rootDir) {
syncInfo.notifyRole = vnodeNotifyRole;
syncInfo.notifyFileSynced = vnodeNotifyFileSynced;
pVnode->sync = syncStart(&syncInfo);
#ifndef _SYNC
pVnode->role = TAOS_SYNC_ROLE_MASTER;
#elif
if (pVnode->sync == NULL) {
vnodeCleanUp(pVnode);
return terrno;
}
#ifndef _SYNC
pVnode->role = TAOS_SYNC_ROLE_MASTER;
#endif
// start continuous query
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册