<div dir="ltr">Thanks for the advice Bo Peng.<div>Please close this request</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 25, 2020 at 4:43 PM Bo Peng <<a href="mailto:pengbo@sraoss.co.jp">pengbo@sraoss.co.jp</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">hello,<br>
<br>
On Fri, 22 May 2020 16:44:02 +1000<br>
Rajni Baliyan <<a href="mailto:saan654@gmail.com" target="_blank">saan654@gmail.com</a>> wrote:<br>
<br>
> sorry hit the wrong button and my question did not complete. Below is the<br>
> complete request-<br>
> <br>
> <br>
> > Hi pgpool experts,<br>
> > I have a question regarding pgpool connections.<br>
> ><br>
> > What will happen to user connections in below scenarios-<br>
> > - When request is being served on replica and replica went down.<br>
> >      - Will connection fail-over to other replica or master ?<br>
> >      - Will connection terminate and user has to start new session?<br>
<br>
The connection is terminated and user has to start a new session.<br>
<br>
> > - When actual failover is happening ?<br>
<br>
The actual failover occurs in the following three cases:<br>
<br>
(1) the primary server failure is detected by health checking<br>
(2) the queries fail on primary server<br>
(3) If watchdog is enable, the actual failover may be triggered by remote pgpool(watchdog)<br>
<br>
> <br>
> ><br>
> ><br>
> ><br>
> > Is there a good reference ( document/blog etc.)<br>
> ><br>
<br>
<br>
-- <br>
Bo Peng <<a href="mailto:pengbo@sraoss.co.jp" target="_blank">pengbo@sraoss.co.jp</a>><br>
SRA OSS, Inc. Japan<br>
</blockquote></div>