website icon indicating copy to clipboard operation
website copied to clipboard

Document read replication and transaction behaviour

Open Rochet2 opened this issue 2 years ago • 0 comments

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 avatar Sep 06 '23 11:09 Rochet2