quartz-scheduler / quartz

Code for Quartz Scheduler
http://www.quartz-scheduler.org
Apache License 2.0
6.32k stars 1.94k forks source link

when storing job with replace check update count returned #1218

Closed t-beckmann closed 1 month ago

t-beckmann commented 1 month ago

This is to detect non-durable job suddenly disappearing when concurrently completing. On MariaDB/MySQL the fall-through code path select-update-insert can be taken due to consistent nonblocking read and multi-version concurrency control.

This PR...

Fixes issue #1085

Changes

The code change checks the update count returned when storing a job.


Checklist


In submitting this contribution, I agree to the terms of contributing as referred to here: https://github.com/quartz-scheduler/contributing/blob/main/CONTRIBUTING.md

t-beckmann commented 1 month ago

This reopens https://github.com/quartz-scheduler/quartz/pull/1086 acknowledging the change of ownership. Best regards.

jhouserizer commented 1 month ago

Thank you.