Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fast path for unique insertion #36

Merged
merged 1 commit into from
Aug 31, 2024
Merged

Fast path for unique insertion #36

merged 1 commit into from
Aug 31, 2024

Conversation

brandur
Copy link
Contributor

@brandur brandur commented Aug 31, 2024

Updates the Python client to be compatible with the fast unique
insertion added to the main River in [1] which uses a unique index
instead of advisory lock + fetch as long as uniqueness is constrained to
the default set of unique job states.

Also, not so much by design originally, but upgrade to sqlc v1.27.0 as
we have going in other River projects.

[1] riverqueue/river#451

@brandur brandur force-pushed the brandur-unique-fast-path branch 2 times, most recently from ab73798 to e07e966 Compare August 31, 2024 04:18
Updates the Python client to be compatible with the fast unique
insertion added to the main River in [1] which uses a unique index
instead of advisory lock + fetch as long as uniqueness is constrained to
the default set of unique job states.

Also, not so much by design originally, but upgrade to sqlc v1.27.0 as
we have going in other River projects.

[1] riverqueue/river#451
@brandur brandur force-pushed the brandur-unique-fast-path branch from e07e966 to 19df943 Compare August 31, 2024 04:30
@brandur brandur merged commit 91ad550 into master Aug 31, 2024
4 checks passed
@brandur brandur deleted the brandur-unique-fast-path branch August 31, 2024 04:52
brandur added a commit that referenced this pull request Aug 31, 2024
Prepare v0.7.0, containing largely an implementation for fast path
unique job insertion as implemented in #36.
@brandur brandur mentioned this pull request Aug 31, 2024
brandur added a commit that referenced this pull request Aug 31, 2024
Prepare v0.7.0, containing largely an implementation for fast path
unique job insertion as implemented in #36.
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