Hisoka-X commented on code in PR #6943:
URL: https://github.com/apache/seatunnel/pull/6943#discussion_r1638139907
##########
seatunnel-engine/seatunnel-engine-client/src/main/java/org/apache/seatunnel/engine/client/job/ClientJobExecutionEnvironment.java:
##########
@@ -67,8 +67,13 @@ public ClientJobExecutionEnvironment(
this.seaTunnelHazelcastClient = seaTunnelHazelcastClient;
this.jobClient = new JobClient(seaTunnelHazelcastClient);
this.seaTunnelConfig = seaTunnelConfig;
- this.jobConfig.setJobContext(
- new JobContext(isStartWithSavePoint ? jobId :
jobClient.getNewJobId()));
+ Long finalJobId;
+ if (isStartWithSavePoint || jobId != null) {
+ finalJobId = jobId;
Review Comment:
Yes, the key point is that the ID cannot be repeated, which currently needs
to be ensured by the user
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]