Better handling the situation when failed master comes online after failing over to new master
Summary
Currently after fail-over when the old master comes online, pgbouncer will see there are 2 masters and stop routing. This can cause service interruption although ensuring data consistency.
Proposal
PGBouncer keeps routing to the new master.