Skip to content

[18.0][FIX] queue_job: fix retry mechanism for enqueue_waiting - #867

Merged
OCA-git-bot merged 1 commit into
OCA:18.0from
acsone:18.0-fix-dependencies-state-retries-sbi
Jan 2, 2026
Merged

[18.0][FIX] queue_job: fix retry mechanism for enqueue_waiting#867
OCA-git-bot merged 1 commit into
OCA:18.0from
acsone:18.0-fix-dependencies-state-retries-sbi

Conversation

@sbidoul

Copy link
Copy Markdown
Member

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
Copy Markdown
Contributor

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

@sbidoulsbidoul changed the title [FIX] queue_job: fix retry mechanisme for job dependencies[FIX] queue_job: fix retry mechanism for job dependenciesJan 2, 2026
@sbidoulsbidoul added this to the 18.0 milestone Jan 2, 2026
@sbidoulsbidoul changed the title [FIX] queue_job: fix retry mechanism for job dependencies[18.0][FIX] queue_job: fix retry mechanism for job dependenciesJan 2, 2026
@sbidoulsbidoul changed the title [18.0][FIX] queue_job: fix retry mechanism for job dependencies[18.0][FIX] queue_job: fix retry mechanism for enqueue_waitingJan 2, 2026
@sbidoul

Copy link
Copy Markdown
MemberAuthor

Thanks for the reviews and happy new year!

/ocabot merge patch

@OCA-git-bot

Copy link
Copy Markdown
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.0Jan 2, 2026
5 of 7 checks passed
@OCA-git-bot

Copy link
Copy Markdown
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
@thomaspaulbthomaspaulb mentioned this pull request Jan 8, 2026
9 tasks
Sign up for freeto 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

@sbidoul@OCA-git-bot@guewen@hoangtrann