fix(stream): not save the stream task for rsma.
This commit is contained in:
parent
b7e7de0354
commit
fb248b2682
|
@ -469,8 +469,8 @@ int32_t streamTaskBuildCheckpoint(SStreamTask* pTask) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// clear the checkpoint info, and commit the newest checkpoint info if all works are done successfully
|
// update the latest checkpoint info if all works are done successfully, for rsma, the pMsgCb is null.
|
||||||
if (code == TSDB_CODE_SUCCESS) {
|
if (code == TSDB_CODE_SUCCESS && (pTask->pMsgCb != NULL)) {
|
||||||
STaskId* pHTaskId = &pTask->hTaskInfo.id;
|
STaskId* pHTaskId = &pTask->hTaskInfo.id;
|
||||||
code = streamBuildAndSendCheckpointUpdateMsg(pTask->pMsgCb, pMeta->vgId, &pTask->id, pHTaskId, &pTask->chkInfo,
|
code = streamBuildAndSendCheckpointUpdateMsg(pTask->pMsgCb, pMeta->vgId, &pTask->id, pHTaskId, &pTask->chkInfo,
|
||||||
dropRelHTask);
|
dropRelHTask);
|
||||||
|
|
Loading…
Reference in New Issue