refactor: do some internal refactor.

This commit is contained in:
Haojun Liao 2023-05-17 15:48:12 +08:00
parent f3f52c0232
commit 73b3b3fc37
1 changed files with 0 additions and 7 deletions

View File

@ -291,13 +291,6 @@ int32_t tqProcessOffsetCommitReq(STQ* pTq, int64_t sversion, char* msg, int32_t
return -1; return -1;
} }
if (offset.val.type == TMQ_OFFSET__LOG) {
STqHandle* pHandle = taosHashGet(pTq->pHandle, offset.subKey, strlen(offset.subKey));
if (pHandle && (walRefVer(pHandle->pRef, offset.val.version) < 0)) {
return -1;
}
}
return 0; return 0;
} }