Skip to content

Conversation

@sbidoul
Copy link
Member

@sbidoul sbidoul commented Jan 2, 2026

When a SerializationFailure occurs when updating the state of dependent jobs, the cursor is not usable anymore so the retry failed with current transaction is aborted. A savepoint fixes that.

fixes #855

When a SerializationFailure occurs when updating the state of dependent
jobs, the cursor is not usable anymore so the retry failed with `current transaction is aborted`. A savepoint fixes that.
@OCA-git-bot
Copy link
Contributor

Hi @guewen,
some modules you are maintaining are being modified, check this out!

@sbidoul sbidoul changed the title [FIX] queue_job: fix retry mechanisme for job dependencies [FIX] queue_job: fix retry mechanism for job dependencies Jan 2, 2026
@sbidoul sbidoul added this to the 18.0 milestone Jan 2, 2026
@sbidoul sbidoul changed the title [FIX] queue_job: fix retry mechanism for job dependencies [18.0][FIX] queue_job: fix retry mechanism for job dependencies Jan 2, 2026
@sbidoul sbidoul changed the title [18.0][FIX] queue_job: fix retry mechanism for job dependencies [18.0][FIX] queue_job: fix retry mechanism for enqueue_waiting Jan 2, 2026
@sbidoul
Copy link
Member Author

sbidoul commented Jan 2, 2026

Thanks for the reviews and happy new year!

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 18.0-ocabot-merge-pr-867-by-sbidoul-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 28c3d43 into OCA:18.0 Jan 2, 2026
5 of 7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 2b01d85. Thanks a lot for contributing to OCA. ❤️

@sbidoul sbidoul deleted the 18.0-fix-dependencies-state-retries-sbi branch January 2, 2026 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

queue_job: concurrent update exception on job state update

4 participants