remove a debug line
This commit is contained in:
parent
de1d615f7a
commit
67c62ee687
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue