fix stream backend convert

This commit is contained in:
yihaoDeng 2023-11-16 15:30:01 +08:00
parent f5ef2e727f
commit 8023f2bebd
1 changed files with 1 additions and 1 deletions

View File

@ -1245,7 +1245,7 @@ static int32_t mndProcessStreamDoCheckpoint(SRpcMsg *pReq) {
while (1) {
pIter = sdbFetch(pSdb, SDB_STREAM, pIter, (void **)&pStream);
if (pIter == NULL) break;
code = mndProcessStreamCheckpointTrans(pMnode, pStream, pStream->checkpointId + 1);
code = mndProcessStreamCheckpointTrans(pMnode, pStream, pMsg->checkpointId);
sdbRelease(pSdb, pStream);
if (code == -1) {
break;