<div dir="ltr"><div><div><div><div><div><div><div>Hi,<br><br></div>I am having the following scenario-<br><br></div>Node 1 :<br></div>pgpool - MASTER<br></div>postgresql - MASTER<br><br><br>Node 2 :<br>pgpool - STANDBY<br>postgresql - SLAVE(STREAM REPLICATION)<br><br></div>When I reboot the master node(NODE 1), NODE 2 pgpol watchdog and postgresql becomes master. NODE 2 is serving application&#39;s DB requests as expected.<br><br><br></div>Now, when NODE1 comes back online(pgpool and postgresql server are started on system startup) pgpool on NODE2 still considers postgresql on node1 as down(as expected).<br></div><div>But pgpool on NODE1 has the following inconsistencies now -<br></div><div>1. There are two postgresql servers running as master<br></div><div>2. pgpool sees postgresql servers on both the nodes as running and ready to accept connections.<br><br></div><div>Is this behaviour expected. Because in such case if pgpool in NODE1 becomes master again before manually recovering postgres, it will lead to data inconsistency in my application.<br><br></div><div>Thanks &amp; Regards,<br></div><div>Guptesh<br></div><div><br><br></div></div>