diff --git a/src/vnode/src/vnodeMain.c b/src/vnode/src/vnodeMain.c index 5bd206beec21b128c6a653c1d17122d7bf35448a..0050de33994c48a89abcb107e350d1dec7e2527c 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) {