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

Handling misfires using batch commands #759

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nicsur
Copy link

@nicsur nicsur commented May 17, 2019

Handling of misfired triggers using database batch commands. The goal is to minimize database round-trips to reduce handling time when there is a large number of misfires.

  • New boolean setting: quartz.jobStore.batchMisfireHandling to control feature.
  • When batchMisfireHandling is set, the misfire handler will process misfired triggers in batches of size maxMisfiresToHandleAtATime
  • To support batch processing of triggers, multi-object methods have been added. They mirror the exiting single-object methods.
  • The single-object methods are kept as they are for backward-compatibility.
  • Not all supported stores can handle batches and this is controlled in code by IDriverDelegate.SupportsBatching override.
  • Unit-tests and tests have been added to cover the changes.

#758

@lahma
Copy link
Member

lahma commented Jan 30, 2020

Sorry for keeping you hanging. Could you please rebase against master and I hopefully have soon time to go through this idea. Thanks for understanding.

Base automatically changed from master to main January 23, 2021 17:31
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

Successfully merging this pull request may close these issues.

None yet

3 participants