arshadmohammad commented on PR #277:
URL: https://github.com/apache/seatunnel-web/pull/277#issuecomment-2621413841

   This is happening because the job history insert is being hit from two code 
flow at the same time.
   1:
   `
   java.lang.Throwable: insert:
        at 
org.apache.seatunnel.app.service.impl.JobMetricsServiceImpl.syncHistoryJobInfoToDb(JobMetricsServiceImpl.java:599)
        at 
org.apache.seatunnel.app.service.impl.JobMetricsServiceImpl.syncJobDataToDb(JobMetricsServiceImpl.java:543)
        at 
org.apache.seatunnel.app.service.impl.JobInstanceServiceImpl.complete(JobInstanceServiceImpl.java:358)
        at 
org.apache.seatunnel.app.service.impl.JobExecutorServiceImpl.waitJobFinish(JobExecutorServiceImpl.java:173)
   `
   2: 
   `
    java.lang.Throwable: insert:
        at 
org.apache.seatunnel.app.service.impl.JobMetricsServiceImpl.syncHistoryJobInfoToDb(JobMetricsServiceImpl.java:599)
        at 
org.apache.seatunnel.app.service.impl.JobMetricsServiceImpl.getJobDAG(JobMetricsServiceImpl.java:506)
        at 
org.apache.seatunnel.app.controller.JobMetricsController.getJobDAG(JobMetricsController.java:66)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   `


-- 
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: commits-unsubscr...@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to