<div dir="ltr"><div><div><div><div><div>Suppose we have two servers, under extreme circumstances two may both fail. Now that we face 4 possibilities:<br><br></div>1) Master fail -> Standby self-promote -> Standby fail -> old Master recover ?<br></div>2) Master fail -> Standby self-promote -> Standby fail -> Standby and new Master recover?<br></div>3) Standby fail -> Master fail -> Standby Recover?<br></div>4) Standby fail -> Master fail -> Master recover?<br><br></div>1 and 3 are especially hazardous because the only recovered server may view itself as the current master and hence lose data during its failure time. I believe when only one server wakes up it should stay and wait for the other server to recover before negotiating who should be the new master.<br><br><div><div><div><div><div><div><div><div>Does pgpool have such a mechanism?<br><br></div><div>Regards,<br></div><div>  Zhaoxun<br></div></div></div></div></div></div></div></div></div>