From 4ca50b9a717b3afd3b1b1245489104c550f3c616 Mon Sep 17 00:00:00 2001 From: Lev Kokotov Date: Sat, 19 Feb 2022 08:59:20 -0800 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ab309c9..1408d9b 100644 --- a/README.md +++ b/README.md @@ -101,7 +101,7 @@ SET SERVER ROLE TO 'default'; The setting will persist until it's changed again or the client disconnects. -By default, all queries are routed to all servers; `default_role` setting controls this behavior. +By default, all queries are routed to the first available server; `default_role` setting controls this behavior. ### Failover All servers are checked with a `SELECT 1` query before being given to a client. If the server is not reachable, it will be banned and cannot serve any more transactions for the duration of the ban. The queries are routed to the remaining servers. If all servers become banned, the ban list is cleared: this is a safety precaution against false positives. The primary can never be banned.