Skip to content
This repository was archived by the owner on Dec 28, 2025. It is now read-only.

Commit 349841e

Browse files
authored
[Fix][Zeta] Fix unnecessary job state update (apache#10132)
1 parent 5880c3e commit 349841e

File tree

1 file changed

+1
-1
lines changed
  • seatunnel-engine/seatunnel-engine-server/src/main/java/org/apache/seatunnel/engine/server/dag/physical

1 file changed

+1
-1
lines changed

seatunnel-engine/seatunnel-engine-server/src/main/java/org/apache/seatunnel/engine/server/dag/physical/PhysicalPlan.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ public void makeJobFailing(Throwable e) {
300300
updateJobState(JobStatus.FAILING);
301301
}
302302

303-
public void startJob() {
303+
public synchronized void startJob() {
304304
isRunning = true;
305305
log.info("{} state process is start", getJobFullName());
306306
updateJobState(JobStatus.SCHEDULED);

0 commit comments

Comments
 (0)