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

remove a debug line

上级 de1d615f
......@@ -779,8 +779,7 @@ static int32_t vnodeReadCfg(SVnodeObj *pVnode) {
vError("vgId: %d, failed to read vnode cfg, quorum not found", pVnode->vgId);
goto PARSE_OVER;
}
//pVnode->syncCfg.quorum = (int8_t)quorum->valueint;
pVnode->syncCfg.quorum = 2;
pVnode->syncCfg.quorum = (int8_t)quorum->valueint;
cJSON *nodeInfos = cJSON_GetObjectItem(root, "nodeInfos");
if (!nodeInfos || nodeInfos->type != cJSON_Array) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册