refactor(stream): add some logs.
This commit is contained in:
parent
6766e6db53
commit
cc62216c14
|
@ -96,9 +96,13 @@ void streamSetupScheduleTrigger(SStreamTask* pTask) {
|
|||
int32_t streamTrySchedExec(SStreamTask* pTask, bool chkptQueue) {
|
||||
if (streamTaskSetSchedStatusWait(pTask)) {
|
||||
return streamTaskSchedTask(pTask->pMsgCb, pTask->info.nodeId, pTask->id.streamId, pTask->id.taskId, 0, chkptQueue);
|
||||
} else {
|
||||
if (chkptQueue) {
|
||||
stWarn("s-task:%s not launch task in chkpt queue, may delay checkpoint procedure", pTask->id.idStr);
|
||||
} else {
|
||||
stTrace("s-task:%s not launch task since sched status:%d", pTask->id.idStr, pTask->status.schedStatus);
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue