-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Release BLOCKED triggers in releaseAcquiredTrigger #146
Conversation
Dear Quartz Team, Based on my findings from Issue 145, I'd like to propose the following change. I hope this is useful for you. Thanks, |
Any update on when this will get merged? We are currently getting hit by this issue and need it fixed ASAP. |
👍 on fixing, I think we've been hit by this issue as well |
When this fix will be available in next release of quartz scheduler. |
Why don't we merge this fix in? We are seeing similar problems in our environment |
Let's merge this fix. @zemian @jhouserizer @chrisdennis |
Hello folks, sorry it took so long to respond. I will take a look at this and will try to merge it in next day or so. |
@zemian Thanks for the merge! What are your plans for releasing this fix in any new versions? |
Hi @dersteve , then next release should be Don't have a date, but should be soon. I am trying to get it publish with help of Terracotta folks. |
@zemian Thanks for the merge! Can you specify the release date of new quartz version please? We really need this fix! |
Hi @fbokovikov no release date yet :( Hopefully soon. At the meantime, you can simply do a local build from latest branch. |
I think we've traced down an issue related to this commit/fix. When running in a clustered environment, with DisallowConcurrentExecution, and lots of triggers for that job, something appears to "hang" for several minutes doing nothing (all triggers are in a WAITING state and none are in COMPLETED/BLOCKED/ACQUIRED, the fire time is still valid and w/in our 30 min misfire range). I'm not sure why this would be as I don't know the quartz data model too well, however, if I comment out this line:
The issue goes away. Also, I merged these two into a single one locally and was also not able to reproduce the hang issue:
with
Can anyone hypothesize why this would be? Here is my theory:
It would probably not be a bad idea to merge into a single query anyways for performance. CC @zemian @shelmling |
* relates to quartz-scheduler/quartz#146 , quartz-scheduler/quartz#145 * relates to #741 #800
I sill have similar issue on v2.3.2, when using cluster more and enabling Is there any workaround fix? Thanks. |
@zemian @oridool Having the same issue on 2.3.2 as stated in #145 while using @DisallowConcurrentExecution annotation (145 PR specifies the problem is fixed via this PR 146 on version 2.3.2) If we set up the following:
|
@zemian We also face this issue in our production environment and have to manually correct the job trigger state in the database to solve it. Our job runs every 5 minutes. Quartz version v2.3.2 |
We are facing exact same issue in our production. Did you find a solution or workaround for this issue? I am also using Quartz version 2.3.2 and my Job is marked with @DisallowConcurrentExecution as well. |
@koti-muppavarapu We solved it by properly configuring our quartz to run in clustered mode. It looks like if you don't do this, the @DisallowConcurrentExecution creates issues. We has some missing properties that were the root cause. |
Thanks for you reply @borisvaningelgom , I will try this property and see if I this will fix the issue. This is very random issue on which happen very randomly and rarely. Hopefully this will fix it. |
@borisvaningelgom @koti-muppavarapu we’ve been running clustered mode since the beginning and that doesn’t solve it for us. |
* applying commit quartznet/quartznet@05fd35c * related to quartz-scheduler/quartz#146 , quartz-scheduler/quartz#145 , #741, #800
No description provided.