diff --git a/src/vnode/src/vnodeMain.c b/src/vnode/src/vnodeMain.c index 5bd206beec..0050de3399 100644 --- a/src/vnode/src/vnodeMain.c +++ b/src/vnode/src/vnodeMain.c @@ -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) {