drop stream data

This commit is contained in:
Yihao Deng 2024-04-17 05:38:45 +00:00
parent 74b7bf6bbc
commit 354f33fa88
1 changed files with 2 additions and 1 deletions

View File

@ -729,9 +729,10 @@ int32_t tqStreamTaskProcessDropReq(SStreamMeta* pMeta, char* msg, int32_t msgLen
if (streamMetaCommit(pMeta) < 0) {
// persist to disk
}
tqStreamRmTaskBackend(pMeta, &id);
streamMetaWUnLock(pMeta);
tqStreamRmTaskBackend(pMeta, &id);
return 0;
}