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

Document read replication and transaction behaviour #574

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Rochet2
Copy link

@Rochet2 Rochet2 commented Sep 6, 2023

It appears that there is no documentation that I could find on read replication and how useMaster is not needed for select queries in a transaction for consistency. This PR should document the default behaviour of SELECT queries in a transaction when using read replication.

In V7 there will be a new setting for transactions to allow going to read pool only.
It could also be mentioned here maybe?

I also wonder (have not tested) what happens if one explicitly sets useMaster true/false inside a transaction.
Maybe something to document as well.

@Rochet2 Rochet2 requested a review from a team as a code owner April 11, 2024 20:16
@Rochet2 Rochet2 requested review from ephys and WikiRik April 11, 2024 20:16
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