diff --git a/source/client/src/clientTmq.c b/source/client/src/clientTmq.c index 84a503e512b1a24351ef7f0409b23d0e1b07cbcc..9e43765b5b93cac7ef90ac6a11684305d9647c19 100644 --- a/source/client/src/clientTmq.c +++ b/source/client/src/clientTmq.c @@ -662,7 +662,6 @@ static void asyncCommitAllOffsets(tmq_t* tmq, tmq_commit_cb* pCommitFp, void* us // init as 1 to prevent concurrency issue pParamSet->waitingRspNum = 1; - taosThreadMutexLock(&tmq->lock); int32_t numOfTopics = taosArrayGetSize(tmq->clientTopics); tscDebug("consumer:0x%" PRIx64 " start to commit offset for %d topics", tmq->consumerId, numOfTopics);