fix(stream): do update the checkpoint info if not in checkpoint status.
This commit is contained in:
parent
bd8c7d8c93
commit
6b0b65527f
|
@ -443,7 +443,7 @@ int32_t streamTaskUpdateTaskCheckpointInfo(SStreamTask* pTask, bool restored, SV
|
|||
|
||||
SStreamTaskState* pStatus = streamTaskGetStatus(pTask);
|
||||
|
||||
if ((!restored) && (pStatus->state != TASK_STATUS__CK)) {
|
||||
if (restored && (pStatus->state != TASK_STATUS__CK)) {
|
||||
stDebug("s-task:0x%x vgId:%d restored:%d status:%s not update checkpoint-info, checkpointId:%" PRId64 "->%" PRId64
|
||||
" failed",
|
||||
pReq->taskId, vgId, restored, pStatus->name, pInfo->checkpointId, pReq->checkpointId);
|
||||
|
|
Loading…
Reference in New Issue