fix drop stream case
This commit is contained in:
parent
a4d475b582
commit
786383118c
|
@ -1337,6 +1337,9 @@ static int32_t mndProcessStreamCheckpointInCandid(SRpcMsg *pReq) {
|
||||||
SCheckpointCandEntry *pEntry = pIter;
|
SCheckpointCandEntry *pEntry = pIter;
|
||||||
|
|
||||||
SStreamObj *ps = mndAcquireStream(pMnode, pEntry->pName);
|
SStreamObj *ps = mndAcquireStream(pMnode, pEntry->pName);
|
||||||
|
if (ps == NULL) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
mDebug("start to launch checkpoint for stream:%s %" PRIx64 " in candidate list", pEntry->pName, pEntry->streamId);
|
mDebug("start to launch checkpoint for stream:%s %" PRIx64 " in candidate list", pEntry->pName, pEntry->streamId);
|
||||||
|
|
||||||
code = mndProcessStreamCheckpointTrans(pMnode, ps, pEntry->checkpointId);
|
code = mndProcessStreamCheckpointTrans(pMnode, ps, pEntry->checkpointId);
|
||||||
|
|
Loading…
Reference in New Issue