avoid deadlock

This commit is contained in:
yihaoDeng 2023-05-09 07:00:29 +00:00
parent 8617af2a55
commit b5fdaa327d
1 changed files with 3 additions and 3 deletions

View File

@ -234,7 +234,7 @@ void streamMetaRemoveTask(SStreamMeta* pMeta, int32_t taskId) {
if (ppTask) {
SStreamTask* pTask = *ppTask;
taosWLockLatch(&pMeta->lock);
// taosWLockLatch(&pMeta->lock);
taosHashRemove(pMeta->pTasks, &taskId, sizeof(int32_t));
tdbTbDelete(pMeta->pTaskDb, &taskId, sizeof(int32_t), pMeta->txn);