HAProxy + Patroni - Configure reads from a master when no slaves available
1
vote
1
answer
1653
views
I have a HAProxy + Patroni setup with split reads and writes.
The problem is, when both my replicas go down, only my writes are supported, the reads stop because both replicas are down.
How is this problem generally handled in this setup? Is there a way to have HAProxy direct the read traffic to the master in case no read servers are available?
Asked by DMin
(163 rep)
Apr 8, 2021, 05:04 AM
Last activity: Apr 8, 2021, 07:02 AM
Last activity: Apr 8, 2021, 07:02 AM