Skip to content

[18.0][IMP] queue_job: take weaker locks - #873

Merged
OCA-git-bot merged 1 commit into
OCA:18.0from
acsone:18.0-for-nokey-update-sbi
Jan 5, 2026
Merged

[18.0][IMP] queue_job: take weaker locks#873
OCA-git-bot merged 1 commit into
OCA:18.0from
acsone:18.0-for-nokey-update-sbi

Conversation

@sbidoul

Copy link
Copy Markdown
Member

Since we are not going to delete records nor modify foreign keys, we can take a weaker lock.

See for instance this article which explains why FOR UPDATE is usually a lock that is too strong.

Since we are not going to delete records nor modify foreign keys,
we can take a weaker lock.
@sbidoulsbidoul added this to the 18.0 milestone Jan 4, 2026
@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 [IMP] queue_job: take weaker locks[18.0][IMP] queue_job: take weaker locksJan 4, 2026
@sbidoul

Copy link
Copy Markdown
MemberAuthor

/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-873-by-sbidoul-bump-patch, awaiting test results.

@OCA-git-bot
OCA-git-bot merged commit 5950735 into OCA:18.0Jan 5, 2026
7 checks passed
@OCA-git-bot

Copy link
Copy Markdown
Contributor

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

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.

4 participants

@sbidoul@OCA-git-bot@guewen@RyanTranAVB