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

QueryRouter: route to primary when locks exists (select for update) #765

Closed
wants to merge 1 commit into from

Conversation

jgoday
Copy link
Contributor

@jgoday jgoday commented Jul 6, 2024

Related to issue #750 by @to2016.

Change to query router to set primary role if locks are present in a query.
This is to ensure that the primary is always the one to handle locks
that might affect a write operation (SELECT FOR UPDATE, SELECT FOR SHARE, etc.)

@drdrsh
Copy link
Collaborator

drdrsh commented Aug 30, 2024

I am closing this in favor of #782

I had to do this to trigger a build on CircleCI and rebase.

@drdrsh drdrsh closed this Aug 30, 2024
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.

2 participants