提交 b8fdafe8 编写于 作者: S Shengliang Guan

fix: not reconfig if unchanged

上级 92584d13
......@@ -2065,7 +2065,7 @@ static bool syncIsConfigChanged(const SSyncCfg* pOldCfg, const SSyncCfg* pNewCfg
void syncNodeDoConfigChange(SSyncNode* pSyncNode, SSyncCfg* pNewConfig, SyncIndex lastConfigChangeIndex) {
SSyncCfg oldConfig = pSyncNode->pRaftCfg->cfg;
#if 0
#if 1
if (!syncIsConfigChanged(&oldConfig, pNewConfig)) {
sInfo("vgId:1, sync not reconfig since not changed");
return;
......
......@@ -183,7 +183,7 @@ $x = 0
step71:
$x = $x + 1
sleep 1000
if $x == 10 then
if $x == 50 then
return -1
endi
sql select * from information_schema.ins_dnodes
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册