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

fix: 定时任务在高并发场景下没有被触发 #2075

Closed
wangyu096 opened this issue May 23, 2023 · 1 comment
Closed

fix: 定时任务在高并发场景下没有被触发 #2075

wangyu096 opened this issue May 23, 2023 · 1 comment
Assignees
Labels
done 已上线到正式环境并验收通过 for test 可以在测试环境进行验收 kind/bug 程序故障Bug,漏洞

Comments

@wangyu096
Copy link
Collaborator

Version / Branch / tag

3.7.x

出了什么问题?(What Happened?)

定时任务在高并发场景下没有被触发,报错日志

[2023-05-23 10:12:15.572]  INFO [job-crontab,,] 20289 --- [QuartzScheduler_quartz-scheduler-job-11684738383784_MisfireHandler] o.s.s.quartz.LocalDataSourceJobStore     : Handling the first 20 triggers that missed their scheduled fire-time.  More misfired triggers remain to be processed.

如何复现?(How to reproduce?)

大量定时任务同时触发

预期结果(What you expect?)

@wangyu096 wangyu096 added kind/bug 程序故障Bug,漏洞 backlog 需求初始状态,等待产品进行评估 labels May 23, 2023
@wangyu096 wangyu096 self-assigned this May 23, 2023
@wangyu096
Copy link
Collaborator Author

wangyu096 commented May 23, 2023

问题定位:
该问题在 #1620 中被引入,由于升级了spring quartz框架,删除了配置项org.quartz.threadPool.threadCount 和 org.quartz.threadPool.class导致的

@wangyu096 wangyu096 added the todo 进入开发排期的状态,纳入了最近的迭代 label May 24, 2023
jsonwan added a commit that referenced this issue Jun 12, 2023
fix: 定时任务在高并发场景下没有被触发 #2075
@bkjob-bot bkjob-bot added for test 可以在测试环境进行验收 for gray 可以在灰度环境/预发布环境验收 done 已上线到正式环境并验收通过 and removed backlog 需求初始状态,等待产品进行评估 todo 进入开发排期的状态,纳入了最近的迭代 for test 可以在测试环境进行验收 for gray 可以在灰度环境/预发布环境验收 labels Jun 15, 2023
@bkjob-bot bkjob-bot added the for test 可以在测试环境进行验收 label Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
done 已上线到正式环境并验收通过 for test 可以在测试环境进行验收 kind/bug 程序故障Bug,漏洞
Projects
None yet
Development

No branches or pull requests

2 participants