<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 &lt;<a href="mailto:pengbo@sraoss.co.jp">pengbo@sraoss.co.jp</a>&gt; 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 &lt;<a href="mailto:saan654@gmail.com" target="_blank">saan654@gmail.com</a>&gt; wrote:<br>
<br>
&gt; sorry hit the wrong button and my question did not complete. Below is the<br>
&gt; complete request-<br>
&gt; <br>
&gt; <br>
&gt; &gt; Hi pgpool experts,<br>
&gt; &gt; I have a question regarding pgpool connections.<br>
&gt; &gt;<br>
&gt; &gt; What will happen to user connections in below scenarios-<br>
&gt; &gt; - When request is being served on replica and replica went down.<br>
&gt; &gt;      - Will connection fail-over to other replica or master ?<br>
&gt; &gt;      - 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>
&gt; &gt; - 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>
&gt; <br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Is there a good reference ( document/blog etc.)<br>
&gt; &gt;<br>
<br>
<br>
-- <br>
Bo Peng &lt;<a href="mailto:pengbo@sraoss.co.jp" target="_blank">pengbo@sraoss.co.jp</a>&gt;<br>
SRA OSS, Inc. Japan<br>
</blockquote></div>