Skip to content

[Bug] [Master] Pause process instance error #7955

@SbloodyS

Description

@SbloodyS

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

When the workflow is paused, it will not stop and execution will continue.But the process instance can not be stoped or be killed in ui.

[INFO] 2022-01-12 12:45:18.339 org.apache.dolphinscheduler.server.master.processor.StateEventProcessor:[68] - received command : State Event :key: 2-0-2-0 type: PROCESS_STATE_CHANGE executeStatus: READY_PAUSE task instance id: 0 process instance id: 2 context: null
[INFO] 2022-01-12 12:45:18.339 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[475] - process instance update: 2
[INFO] 2022-01-12 12:45:18.364 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[297] - process event: State Event :key: 2-0-2-0 type: PROCESS_STATE_CHANGE executeStatus: READY_PAUSE task instance id: 0 process instance id: 2 context: null
[INFO] 2022-01-12 12:45:18.364 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[566] - process:2 state READY_PAUSE change to READY_PAUSE
[INFO] 2022-01-12 12:45:18.778 org.apache.dolphinscheduler.api.aspect.AccessLogAspect:[90] - REQUEST TRACE_ID:88da15ea-a1de-4e5e-a93c-9a4c2c1ef54c, LOGIN_USER:admin, URI:/dolphinscheduler/projects/4164120330176/process-instances, METHOD:GET, HANDLER:org.apache.dolphinscheduler.api.controller.ProcessInstanceController.queryProcessInstanceList, ARGS:{processDefineCode=0, executorName=, searchVal=, projectCode=4164120330176, pageNo=1, stateType=null, host=, pageSize=10, startTime=, endTime=}
[INFO] 2022-01-12 12:45:20.165 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[297] - process event: State Event :key: null type: TASK_STATE_CHANGE executeStatus: RUNNING_EXECUTION task instance id: 2 process instance id: 2 context: null
[INFO] 2022-01-12 12:45:24.887 org.apache.dolphinscheduler.api.aspect.AccessLogAspect:[90] - REQUEST TRACE_ID:fa0d0dde-de46-4c66-aae0-0d018bee93ab, LOGIN_USER:admin, URI:/dolphinscheduler/projects/4164120330176/process-instances, METHOD:GET, HANDLER:org.apache.dolphinscheduler.api.controller.ProcessInstanceController.queryProcessInstanceList, ARGS:{processDefineCode=0, executorName=, searchVal=, projectCode=4164120330176, pageNo=1, stateType=null, host=, pageSize=10, startTime=, endTime=}
[INFO] 2022-01-12 12:45:25.170 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[297] - process event: State Event :key: null type: TASK_STATE_CHANGE executeStatus: RUNNING_EXECUTION task instance id: 2 process instance id: 2 context: null
[INFO] 2022-01-12 12:45:25.908 org.apache.dolphinscheduler.api.aspect.AccessLogAspect:[90] - REQUEST TRACE_ID:8130b0f2-763c-4b8a-816e-7368f64c40f7, LOGIN_USER:admin, URI:/dolphinscheduler/projects/4164120330176/process-instances, METHOD:GET, HANDLER:org.apache.dolphinscheduler.api.controller.ProcessInstanceController.queryProcessInstanceList, ARGS:{processDefineCode=0, executorName=, searchVal=, projectCode=4164120330176, pageNo=1, stateType=null, host=, pageSize=10, startTime=, endTime=}
[INFO] 2022-01-12 12:45:30.174 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[297] - process event: State Event :key: null type: TASK_STATE_CHANGE executeStatus: RUNNING_EXECUTION task instance id: 2 process instance id: 2 context: null
[INFO] 2022-01-12 12:45:35.178 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[297] - process event: State Event :key: null type: TASK_STATE_CHANGE executeStatus: RUNNING_EXECUTION task instance id: 2 process instance id: 2 context: null
[INFO] 2022-01-12 12:45:40.182 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[297] - process event: State Event :key: null type: TASK_STATE_CHANGE executeStatus: RUNNING_EXECUTION task instance id: 2 process instance id: 2 context: null
[INFO] 2022-01-12 12:45:45.186 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[297] - process event: State Event :key: null type: TASK_STATE_CHANGE executeStatus: RUNNING_EXECUTION task instance id: 2 process instance id: 2 context: null
[INFO] 2022-01-12 12:45:50.190 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[297] - process event: State Event :key: null type: TASK_STATE_CHANGE executeStatus: RUNNING_EXECUTION task instance id: 2 process instance id: 2 context: null
[INFO] 2022-01-12 12:45:55.193 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[297] - process event: State Event :key: null type: TASK_STATE_CHANGE executeStatus: RUNNING_EXECUTION task instance id: 2 process instance id: 2 context: null

What you expected to happen

Pause success.

How to reproduce

Create a process instance and then pause it.

Anything else

No response

Version

2.0.2

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

Waiting for replyWaiting for replybugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions