fix stream snap deadlock

This commit is contained in:
yihaoDeng 2023-10-16 19:26:33 +08:00
parent 252b90bfab
commit 0adefd5e59
1 changed files with 0 additions and 2 deletions

View File

@ -211,8 +211,6 @@ int32_t streamTaskSnapWriterClose(SStreamTaskWriter* pWriter, int8_t rollback) {
goto _err;
}
taosWUnLockLatch(&pTq->pStreamMeta->lock);
if (tdbBegin(pTq->pStreamMeta->db, &pTq->pStreamMeta->txn, tdbDefaultMalloc, tdbDefaultFree, NULL, 0) < 0) {
code = -1;
taosMemoryFree(pWriter);