linghengqian commented on issue #2059:
URL: 
https://github.com/apache/shardingsphere-elasticjob/issues/2059#issuecomment-2244877723

   > 
如果作业执行逻辑过于简单,比如只是打印一个日志,并且同一个分片的JobExecutionEvent插入和更新是通过EventBus异步操作的,那么就会出现数据库正在执行插入时,又进行了更新操作,默认情况下,数据库是读已提交,通过id更新失败转而进行插入操作,因而就会出现id重复的问题。
   
   - Would you like to submit a PR with a fix that includes unit tests?


-- 
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]

Reply via email to