Skip to content

Rework locking to use advisory locks instead of row locks#520

Open
rjmac wants to merge 1 commit intomainfrom
rjm/rework-locking
Open

Rework locking to use advisory locks instead of row locks#520
rjmac wants to merge 1 commit intomainfrom
rjm/rework-locking

Conversation

@rjmac
Copy link
Copy Markdown
Contributor

@rjmac rjmac commented Mar 25, 2026

In an attempt to reduce the xact locking burden, stop using transaction- linked locks for all our concurrency and start using advisory locks instead. Is this likely to just be changing one problem for another? I don't know, but now there will certainly be fewer row locks under contention...

In an attempt to reduce the xact locking burden, stop using transaction-
linked locks for all our concurrency and start using advisory locks
instead.  Is this likely to just be changing one problem for another?
I don't know, but now there will certainly be fewer row locks under
contention...
@rjmac
Copy link
Copy Markdown
Contributor Author

rjmac commented Mar 25, 2026

grrr tests that don't actually use pg and so obviously don't have advisory locks...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant