Uh oh!
There was an error while loading. Please reload this page.
[14.0] queue_job_cron_jobrunner: avoid concurrent access on ir.cron - #611
Conversation
cd8cbda to
993e6bbComparepetrus-v
commented
Dec 19, 2023
@ivantodorovich did you get similar issue on your odoo instances ? |
As odoo add a lock while running cron task we should only try to write on it. If the cron is running while create new queue job records we will wait next call.
993e6bb to
38b4ed0Compareivantodorovich
commented
Dec 19, 2023
Hey @petrus-v , @damdam-s 👋🏻 it's nice to see your names here Actually, I originally developed this module for Odoo 15.0, relying on cron triggers. I've never used this module in |
petrus-v
commented
Dec 19, 2023
Thanks for your prompt reply, history regarding this topic and review ! Always a pleasure to see your name on so many projects around ! see you soon and happy end of year :) |
OCA-git-bot
commented
Dec 24, 2023
This PR has the |
gurneyalex
commented
Jan 8, 2024
are you aware of #612? |
petrus-v
commented
Jan 8, 2024
no I'm not... but I'm not sure how much it's related. As mentionned by @ivantodorovich this module in version 14.0 do not rely on So creating a new job in this version try to write on the ir.cron which is probably running to the row is lock, at the end the whole transaction get rollback before this PR. |
OCA-git-bot
commented
Apr 4, 2024
What a great day to merge this nice PR. Let's do it! |
OCA-git-bot
commented
Apr 4, 2024
Congratulations, your PR was merged at 34e80c7. Thanks a lot for contributing to OCA. ❤️ |
As odoo add a lock while running cron task we should only try to write
on it. If the cron is running while create new queue job records
we will wait next call.