Repository navigation
12.33.7
Schema version: 42, unchanged from 12.33.0
-
Fix: each scheduled job is now filed under the minute its occurrence falls in. Before this, a cron job was filed under the minute its insert committed in. That caused three problems:
- A 6-placeholder expression whose seconds field is not
0, such as30 30 3 * * *, sent two jobs for one occurrence. Two passes found the occurrence on either side of a minute boundary, and each filed it under its own minute. - With
missed: 'once', the catch-up job for an occurrence in the middle of a minute could be dropped, because a repeat send of the previous occurrence already held that minute. - A 5-placeholder occurrence could be lost when a pass's insert committed just after the minute ended. The late job took the next minute, and the next occurrence collided with it.
RRULE and catch-up occurrences were already filed this way, so all schedule kinds now behave the same. A 5-placeholder schedule otherwise files its jobs under the same minute as before.
A rolling upgrade is safe. An instance on an earlier release files a different minute only where it would already have sent the occurrence twice, so a mixed deployment never sends more jobs than an older release alone.
Thanks to @toruiwasa for #923.
- A 6-placeholder expression whose seconds field is not
Full Changelog: 12.33.6...12.33.7