________________________________________ From: Debraj Manna <subharaj.manna@gmail.com> Sent: Sunday, June 17, 2018 11:31:32 AM To: pgsql-admin Subject: [External] JDBC Postgres Failover with quorum based synchronous replication
1. How does a slave is selected? Is a slave randomly selected or a slave is preferred which has zero lag or the minimum lag? 2. Is there any setting in jdbc url which will only select the slave with zero replication and if no such slave exists then read will be sent to master ?