From 1d5877e28b866cc4ef038fced7c91a4389b25679 Mon Sep 17 00:00:00 2001 From: Rochet2 Date: Wed, 6 Sep 2023 14:49:04 +0300 Subject: [PATCH] Document read replication and transaction behaviour --- docs/other-topics/read-replication.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/other-topics/read-replication.md b/docs/other-topics/read-replication.md index 303f1c59..4125f454 100644 --- a/docs/other-topics/read-replication.md +++ b/docs/other-topics/read-replication.md @@ -28,4 +28,4 @@ Sequelize uses a pool to manage connections to your replicas. Internally Sequeli If you want to modify these, you can pass pool as an options when instantiating Sequelize, as shown above. -Each `write` or `useMaster: true` query will use write pool. For `SELECT` read pool will be used. Read replica are switched using a basic round robin scheduling. +Each `write` or `useMaster: true` query will use write pool. For `SELECT` read pool will be used. When all reads and writes when using transactions will be sent to the write pool by default. Read replica are switched using a basic round robin scheduling.