opti:[TS-4593] transform offset from file to tdb in tmq
This commit is contained in:
parent
0704dcf45d
commit
a61d5fa827
|
@ -579,7 +579,7 @@ int32_t tqProcessDeleteSubReq(STQ* pTq, int64_t sversion, char* msg, int32_t msg
|
||||||
}
|
}
|
||||||
|
|
||||||
taosWLockLatch(&pTq->lock);
|
taosWLockLatch(&pTq->lock);
|
||||||
if (taosHashRemove(pTq->pOffset, pReq->subKey, strlen(pReq->subKey) != 0)) {
|
if (taosHashRemove(pTq->pOffset, pReq->subKey, strlen(pReq->subKey)) != 0) {
|
||||||
tqError("cannot process tq delete req %s, since no such offset in hash", pReq->subKey);
|
tqError("cannot process tq delete req %s, since no such offset in hash", pReq->subKey);
|
||||||
}
|
}
|
||||||
if (tqMetaDeleteInfo(pTq, pTq->pOffsetStore, pReq->subKey, strlen(pReq->subKey)) != 0) {
|
if (tqMetaDeleteInfo(pTq, pTq->pOffsetStore, pReq->subKey, strlen(pReq->subKey)) != 0) {
|
||||||
|
|
Loading…
Reference in New Issue