From fc090a1a4af0a739f4d58a74d906c93134f999af Mon Sep 17 00:00:00 2001 From: Shengliang Guan Date: Fri, 14 Oct 2022 22:19:10 +0800 Subject: [PATCH] enh: refactor the code to create and delete mnodes --- source/libs/sync/src/syncMain.c | 2 +- tests/system-test/fulltest.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/libs/sync/src/syncMain.c b/source/libs/sync/src/syncMain.c index af0e6ed960..9343b45dc7 100644 --- a/source/libs/sync/src/syncMain.c +++ b/source/libs/sync/src/syncMain.c @@ -262,7 +262,7 @@ int32_t syncReconfig(int64_t rid, SSyncCfg* pNewCfg) { return ret; #else syncNodeUpdateNewConfigIndex(pSyncNode, pNewCfg); - syncNodeDoConfigChange(pSyncNode, pNewCfg, 0); + syncNodeDoConfigChange(pSyncNode, pNewCfg, SYNC_INDEX_INVALID); taosReleaseRef(tsNodeRefId, pSyncNode->rid); return 0; #endif diff --git a/tests/system-test/fulltest.sh b/tests/system-test/fulltest.sh index d8b45b1afa..cc85b8ddc8 100755 --- a/tests/system-test/fulltest.sh +++ b/tests/system-test/fulltest.sh @@ -248,7 +248,7 @@ python3 ./test.py -f 6-cluster/5dnode3mnodeRestartDnodeInsertDataAsync.py -N 5 - python3 ./test.py -f 6-cluster/5dnode3mnodeAdd1Ddnoe.py -N 6 -M 3 -C 5 # BUG python3 ./test.py -f 6-cluster/5dnode3mnodeStopInsert.py -# python3 ./test.py -f 6-cluster/5dnode3mnodeDrop.py -N 5 +python3 ./test.py -f 6-cluster/5dnode3mnodeDrop.py -N 5 python3 test.py -f 6-cluster/5dnode3mnodeStopConnect.py -N 5 -M 3 python3 ./test.py -f 6-cluster/5dnode3mnodeRecreateMnode.py -N 5 -M 3 -- GitLab