Skip to content

Delete/Add Quartz job and trigger in an outside (non-Quartz) transaction causes strange deadlock from time to time #494

Discussion options

You must be logged in to vote

First of all, I don't recommend fiddling with Quartz data outside of the API. Using scheduler with ZeroSizeThreadPool and not starting it is a nice way to do updates against Quartz tables in maintenance mode.

If I understand correctly you are trying to have double bookkeeping by updating scheduling data in your own tables and Quartz's. Ideally you would just Quartz's tables to inform the status of the of the trigger/job.

I guess the real problem here is that you would like do issue update to two tables instead of one. That could be achieved by overriding StdAdoDelegate method in a way that you let the base call go through and then issue more command, these would share the transaction. tha…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by lahma
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #494 on August 01, 2020 07:35.