Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

某任务表达式错误,会导致部分任务重复执行,部分正常任务无法执行 #3541

Closed
HongyiPaulZeng opened this issue Sep 12, 2024 · 1 comment

Comments

@HongyiPaulZeng
Copy link

版本:
2.4.0

现象:
某个任务表达式错误,导致部分正常任务重复执行,部分正常任务无法执行。

原因:
JobScheduleHelper 类, void start()方法。
约83行 for (XxlJobInfo jobInfo: scheduleList) 循环中,表达式抛出异常会打断循环,导致重复预读,部分任务会被重复执行,异常任务后面的正常任务无法执行。

@xuxueli
Copy link
Owner

xuxueli commented Nov 10, 2024

感谢反馈,优化代码已推送master分支,将随 v2.4.2 分支发布。

@xuxueli xuxueli closed this as completed Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants