remove common task log (#9274)
Co-authored-by: caishunfeng <534328519@qq.com>migrate-dev-docs-to-main
parent
11d9859c40
commit
df519f8044
|
|
@ -64,8 +64,8 @@ public class FailoverExecuteThread extends Thread {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
|
logger.info("failover execute thread started");
|
||||||
while (Stopper.isRunning()) {
|
while (Stopper.isRunning()) {
|
||||||
logger.info("failover execute started");
|
|
||||||
try {
|
try {
|
||||||
List<String> hosts = getNeedFailoverMasterServers();
|
List<String> hosts = getNeedFailoverMasterServers();
|
||||||
if (CollectionUtils.isEmpty(hosts)) {
|
if (CollectionUtils.isEmpty(hosts)) {
|
||||||
|
|
|
||||||
|
|
@ -84,7 +84,7 @@ public class WorkflowExecuteThreadPool extends ThreadPoolTaskExecutor {
|
||||||
public void submitStateEvent(StateEvent stateEvent) {
|
public void submitStateEvent(StateEvent stateEvent) {
|
||||||
WorkflowExecuteThread workflowExecuteThread = processInstanceExecCacheManager.getByProcessInstanceId(stateEvent.getProcessInstanceId());
|
WorkflowExecuteThread workflowExecuteThread = processInstanceExecCacheManager.getByProcessInstanceId(stateEvent.getProcessInstanceId());
|
||||||
if (workflowExecuteThread == null) {
|
if (workflowExecuteThread == null) {
|
||||||
logger.error("workflowExecuteThread is null, processInstanceId:{}", stateEvent.getProcessInstanceId());
|
logger.warn("workflowExecuteThread is null, stateEvent:{}", stateEvent);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
workflowExecuteThread.addStateEvent(stateEvent);
|
workflowExecuteThread.addStateEvent(stateEvent);
|
||||||
|
|
|
||||||
|
|
@ -54,7 +54,7 @@ public class CommonTaskProcessor extends BaseTaskProcessor {
|
||||||
if (this.taskInstance == null) {
|
if (this.taskInstance == null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
this.setTaskExecutionLogger();
|
|
||||||
int taskGroupId = taskInstance.getTaskGroupId();
|
int taskGroupId = taskInstance.getTaskGroupId();
|
||||||
if (taskGroupId > 0) {
|
if (taskGroupId > 0) {
|
||||||
boolean acquireTaskGroup = processService.acquireTaskGroup(taskInstance.getId(),
|
boolean acquireTaskGroup = processService.acquireTaskGroup(taskInstance.getId(),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue