From 6fdf9f8a9f6c58325b096f8dc39eafd99d87d6ae Mon Sep 17 00:00:00 2001 From: yihaoDeng Date: Tue, 15 Oct 2024 17:26:18 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/3.0' into enh/opt-transport --- source/libs/transport/src/transCli.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/source/libs/transport/src/transCli.c b/source/libs/transport/src/transCli.c index 4e710fbaeb..82dc099940 100644 --- a/source/libs/transport/src/transCli.c +++ b/source/libs/transport/src/transCli.c @@ -3119,9 +3119,9 @@ int32_t transSendRequest(void* pInstRef, const SEpSet* pEpSet, STransMsg* pReq, return (code == TSDB_CODE_RPC_ASYNC_MODULE_QUIT ? TSDB_CODE_RPC_MODULE_QUIT : code); } - if (pReq->msgType == TDMT_SCH_DROP_TASK) { - TAOS_UNUSED(transReleaseCliHandle(pReq->info.handle)); - } + // if (pReq->msgType == TDMT_SCH_DROP_TASK) { + // TAOS_UNUSED(transReleaseCliHandle(pReq->info.handle)); + // } transReleaseExHandle(transGetInstMgt(), (int64_t)pInstRef); return 0; @@ -3172,9 +3172,9 @@ int32_t transSendRequestWithId(void* pInstRef, const SEpSet* pEpSet, STransMsg* return (code == TSDB_CODE_RPC_ASYNC_MODULE_QUIT ? TSDB_CODE_RPC_MODULE_QUIT : code); } - if (pReq->msgType == TDMT_SCH_DROP_TASK) { - TAOS_UNUSED(transReleaseCliHandle(pReq->info.handle)); - } + // if (pReq->msgType == TDMT_SCH_DROP_TASK) { + // TAOS_UNUSED(transReleaseCliHandle(pReq->info.handle)); + // } transReleaseExHandle(transGetRefMgt(), *transpointId); transReleaseExHandle(transGetInstMgt(), (int64_t)pInstRef); return 0;