<div dir="ltr">Hi PGPool list,<div><br></div><div>I&#39;m new(ish) to both postgres and pgpool, but learning fast :)</div><div><br></div><div>I&#39;m trying to setup streaming replication with pgpool, and doing automatic failovers etc.</div><div><br></div><div>I&#39;ve setup a mostly working configurations (lots of docker containers), and a failing master will cause pgpool to promote another slave and then re-direct the other slaves to the new master.</div><div><br></div><div>However, now, when I kill a slave, and the master *isn&#39;t* the first node in the pool, I get failover_command called, but with the old and new master ids set to the first node in the pool (which isn&#39;t the master in terms of replication), and the old primary node id set the the second (which was the master).</div><div><br></div><div>I then end up with two master nodes, and everything replicating from the wrong node.</div><div><br></div><div>Is this a bug or a feature? I guess I&#39;m just not clear on the difference between a master node and a primary node - the documentation doesn&#39;t seem to be very clear, especially where streaming replication is concerned.</div><div><br></div><div>Thanks!</div><div><br></div><div>Chris</div><div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><b><br></b></div><div><b>Chris Beauchamp</b></div><div>Systems Administrator</div><div>ChilliBean Ltd</div><div><br></div><div>22, D&#39;Arblay Street, London, W1F 8EQ, United Kingdom</div><div>tel +44 (0)20 7479 7030  |  mobile +44 (0)7770 643582  |  email <a href="mailto:chris@chillibean.tv" target="_blank">chris@chillibean.tv</a></div><div><br></div><div><a href="http://www.chillibean.tv" target="_blank">www.chillibean.tv</a>  |  <a href="http://www.chillivault.tv" target="_blank">www.chillivault.tv</a>  |  <a href="http://www.sohosoho.tv" target="_blank">www.sohosoho.tv</a></div><div><br></div><div>This email and its attachments may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Chillibean Limited. If you are not the intended  recipient of this email and its attachments, you must take no action based upon them, nor must you copy or show them to anyone. Please contact the sender if you believe you have received this email in error.</div><div><br></div><div>Chillibean Limited of 10 Livonia Street, London W1F 8AF, United Kingdom is a limited company registered in England under No. 4775994 VAT Registration No. 835 760 804.</div></div></div>
</div></div>