Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ public void makeJobFailing(Throwable e) {
updateJobState(JobStatus.FAILING);
}

public void startJob() {
public synchronized void startJob() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this duplicated with #10133

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it is related, but I treated it as a separate concern from #10133.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After going through the details, I agree that such issues do exist.

isRunning = true;
log.info("{} state process is start", getJobFullName());
updateJobState(JobStatus.SCHEDULED);
Expand Down