<div dir="ltr">Hi Pgpool Team,<div><br></div><div>              <b>We are nearing a production release and running into the below issues.</b></div><div>Replies at the earliest would be highly helpful and greatly appreciated. Please let us know on how to get rid of the below issues.</div><div><br></div><div>We have a 3 node pgpool + postgres cluster - M1 , M2, M3. The pgpool.conf is as attached.</div><div><br></div><div><b><u>Case I :</u>  </b><br></div><div>M1 - Pgpool Master + Postgres Master</div><div>M2 , M3 - Pgpool slave + Postgres slave</div><div><br></div><div>- M1 goes out of network. its marked as LOST in the pgpool cluster</div><div>- M2 becomes postgres master</div><div>- M3 becomes pgpool master.</div><div>- When M1 comes back to the network, pgpool is able to solve split brain.</div><div>However, its changing the postgres master back to M1 by logging a statement - &quot;LOG:  primary node was chenged after the sync from new master&quot;, so since M2 was already postgres master (and its trigger file is not touched) its not able to sync to the new master.</div><div><b>I somehow want to avoid this postgres master change..please let us know if there is a way to avoid it</b></div><div><b><br></b></div><div><b><br></b></div><div><b><u>Case II:</u></b></div><div><b><br></b></div><div><div>M1 - Pgpool Master + Postgres Master</div><div>M2 , M3 - Pgpool slave + Postgres slave</div></div><div><br></div><div>- Shut down M1, M2</div><div>- M3 is rightly elected as the pgpool master.</div><div>- However when failover request kicks in, the watchdog rejects with the below log .<b> Is there a way to make M3 as the postgres master, inspite of the quorum ?</b></div><div><b>Please let me know.</b></div><div><b><br></b></div><div><b><br></b></div><div><span style="color:rgb(51,51,51);font-family:monospace;font-size:13px;font-variant-numeric:normal;font-variant-east-asian:normal;white-space:pre-wrap">2019-08-16T11:15:04+00:00 lcm-34-182 pgpool[11002]: [92-1] 2019-08-16 11:15:04: pid 11002: LOG:  watchdog is processing the failover command [DEGENERATE_BACKEND_REQUEST] received from local pgpool-II on IPC interface</span><br style="color:rgb(51,51,51);font-family:monospace;font-size:13px;font-variant-numeric:normal;font-variant-east-asian:normal;white-space:pre-wrap"><span style="color:rgb(51,51,51);font-family:monospace;font-size:13px;font-variant-numeric:normal;font-variant-east-asian:normal;white-space:pre-wrap">2019-08-16T11:15:04+00:00 lcm-34-182 pgpool[11002]: [93-1] 2019-08-16 11:15:04: pid 11002: LOG:  failover requires the quorum to hold, which is not present at the moment</span><br style="color:rgb(51,51,51);font-family:monospace;font-size:13px;font-variant-numeric:normal;font-variant-east-asian:normal;white-space:pre-wrap"><span style="color:rgb(51,51,51);font-family:monospace;font-size:13px;font-variant-numeric:normal;font-variant-east-asian:normal;white-space:pre-wrap">2019-08-16T11:15:04+00:00 lcm-34-182 pgpool[11002]: [93-2] 2019-08-16 11:15:04: pid 11002: DETAIL:  Rejecting the failover request</span><br style="color:rgb(51,51,51);font-family:monospace;font-size:13px;font-variant-numeric:normal;font-variant-east-asian:normal;white-space:pre-wrap"><span style="color:rgb(51,51,51);font-family:monospace;font-size:13px;font-variant-numeric:normal;font-variant-east-asian:normal;white-space:pre-wrap">2019-08-16T11:15:04+00:00 lcm-34-182 pgpool[11002]: [94-1] 2019-08-16 11:15:04: pid 11002: LOG:  failover command [DEGENERATE_BACKEND_REQUEST] request from pgpool-II node &quot;lcm-34-182.dev.lcm.local:9999 Linux lcm-34-182.dev.lcm.local&quot; is rejected because the watchdog cluster does not hold the quorum</span><br style="color:rgb(51,51,51);font-family:monospace;font-size:13px;font-variant-numeric:normal;font-variant-east-asian:normal;white-space:pre-wrap"><span style="color:rgb(51,51,51);font-family:monospace;font-size:13px;font-variant-numeric:normal;font-variant-east-asian:normal;white-space:pre-wrap">2019-08-16T11:15:04+00:00 lcm-34-182 pgpool[11049]: [23-1] 2019-08-16 11:15:04: pid 11049: LOG:  degenerate backend request for 1 node(s) from pid [11049], is changed to quarantine node request by watchdog</span><b><br></b></div><div><span style="color:rgb(51,51,51);font-family:monospace;font-size:13px;font-variant-numeric:normal;font-variant-east-asian:normal;white-space:pre-wrap"><br></span></div><div><span style="color:rgb(51,51,51);font-family:monospace;font-size:13px;font-variant-numeric:normal;font-variant-east-asian:normal;white-space:pre-wrap"><br></span></div><div><span style="color:rgb(51,51,51);font-size:13px;font-variant-numeric:normal;font-variant-east-asian:normal;white-space:pre-wrap"><font face="arial, sans-serif">Please let me know the solutions at the earliest, awaiting for a reply.</font></span></div><div><span style="color:rgb(51,51,51);font-size:13px;font-variant-numeric:normal;font-variant-east-asian:normal;white-space:pre-wrap"><font face="arial, sans-serif"><br></font></span></div><div><span style="color:rgb(51,51,51);font-size:13px;font-variant-numeric:normal;font-variant-east-asian:normal;white-space:pre-wrap"><font face="arial, sans-serif">Thanks in Advance !!!</font></span></div><div>Lakshmi Y M</div><div><br></div></div>