From 32c6ef4b6ecefc7ad0e6670e825698cf21170132 Mon Sep 17 00:00:00 2001 From: dmchen Date: Wed, 17 May 2023 23:09:16 +0800 Subject: [PATCH] fix ci --- source/dnode/mnode/impl/src/mndStb.c | 6 ------ tests/pytest/util/dnodes.py | 12 ------------ tests/system-test/forcedrop | 1 + 3 files changed, 1 insertion(+), 18 deletions(-) create mode 120000 tests/system-test/forcedrop diff --git a/source/dnode/mnode/impl/src/mndStb.c b/source/dnode/mnode/impl/src/mndStb.c index ef72f66a7a..531521ae9b 100644 --- a/source/dnode/mnode/impl/src/mndStb.c +++ b/source/dnode/mnode/impl/src/mndStb.c @@ -689,13 +689,10 @@ static int32_t mndSetCreateStbRedoActions(SMnode *pMnode, STrans *pTrans, SDbObj int32_t mndSetForceDropCreateStbRedoActions(SMnode *pMnode, STrans *pTrans, SVgObj *pVgroup, SStbObj *pStb) { SSdb *pSdb = pMnode->pSdb; - void *pIter = NULL; int32_t contLen; void *pReq = mndBuildVCreateStbReq(pMnode, pVgroup, pStb, &contLen, NULL, 0); if (pReq == NULL) { - sdbCancelFetch(pSdb, pIter); - sdbRelease(pSdb, pVgroup); return -1; } @@ -709,11 +706,8 @@ int32_t mndSetForceDropCreateStbRedoActions(SMnode *pMnode, STrans *pTrans, SVgO action.retryCode = TSDB_CODE_TDB_STB_NOT_EXIST; if (mndTransAppendRedoAction(pTrans, &action) != 0) { taosMemoryFree(pReq); - sdbCancelFetch(pSdb, pIter); - sdbRelease(pSdb, pVgroup); return -1; } - sdbRelease(pSdb, pVgroup); return 0; } diff --git a/tests/pytest/util/dnodes.py b/tests/pytest/util/dnodes.py index 80ab5baa9a..058c652990 100644 --- a/tests/pytest/util/dnodes.py +++ b/tests/pytest/util/dnodes.py @@ -130,18 +130,6 @@ class TDDnode: "locale": "en_US.UTF-8", "charset": "UTF-8", "asyncLog": "0", - "mDebugFlag": "143", - "dDebugFlag": "143", - "vDebugFlag": "143", - "tqDebugFlag": "143", - "cDebugFlag": "143", - "jniDebugFlag": "143", - "qDebugFlag": "143", - "rpcDebugFlag": "143", - "tmrDebugFlag": "131", - "uDebugFlag": "143", - "sDebugFlag": "143", - "wDebugFlag": "143", "numOfLogLines": "100000000", "statusInterval": "1", "enableQueryHb": "1", diff --git a/tests/system-test/forcedrop b/tests/system-test/forcedrop new file mode 120000 index 0000000000..d2a16bf505 --- /dev/null +++ b/tests/system-test/forcedrop @@ -0,0 +1 @@ +/home/ubuntu/Documents/github/cadem/emptydebug/forcedrop/ \ No newline at end of file