remove a debug line

This commit is contained in:
Jeff Tao 2020-07-06 06:20:11 +00:00
parent de1d615f7a
commit 67c62ee687
1 changed files with 1 additions and 2 deletions

View File

@ -779,8 +779,7 @@ static int32_t vnodeReadCfg(SVnodeObj *pVnode) {
vError("vgId: %d, failed to read vnode cfg, quorum not found", pVnode->vgId); vError("vgId: %d, failed to read vnode cfg, quorum not found", pVnode->vgId);
goto PARSE_OVER; goto PARSE_OVER;
} }
//pVnode->syncCfg.quorum = (int8_t)quorum->valueint; pVnode->syncCfg.quorum = (int8_t)quorum->valueint;
pVnode->syncCfg.quorum = 2;
cJSON *nodeInfos = cJSON_GetObjectItem(root, "nodeInfos"); cJSON *nodeInfos = cJSON_GetObjectItem(root, "nodeInfos");
if (!nodeInfos || nodeInfos->type != cJSON_Array) { if (!nodeInfos || nodeInfos->type != cJSON_Array) {