Doc: clarify the session disconnection conditions while failover.
authorTatsuo Ishii <ishii@sraoss.co.jp>
Tue, 18 Feb 2020 01:28:39 +0000 (10:28 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Tue, 18 Feb 2020 01:32:02 +0000 (10:32 +0900)
doc.ja/src/sgml/failover.sgml
doc/src/sgml/failover.sgml

index 62d208b9704f8c261f571dc933eb90023b7fbd4f..be194b32d1833c5667c814669f05d4cef50ae7e1 100644 (file)
        その後、<productname>Pgpool-II</productname>は<command>failover_command</command>を実行し、コマンドが完了した後に<productname>Pgpool-II</productname>はクライアントからの接続を再び受け付ける準備のため新しい子プロセスを起動します。
       </para>
       <para>
-       <!--
-       However from <productname>Pgpool-II</productname> 3.6, in
-       the steaming replication mode, client sessions will not be
-       disconnected when a failover occurs any more if the
-       session does not use the failed standby server. If the
-       primary server goes down, still all sessions will be
-       disconnected. Health check timeout case will also cause
-       the full session disconnection. Other health check error,
-       including retry over case does not trigger full session
-       disconnection.
-       -->
        しかし、<productname>Pgpool-II</productname> 3.6以降では、そのセッションがダウンしたスタンバイを使用していない場合には、フェイルオーバが起こってもセッションが切断されません。
+       (ただし、フェイルオーバ処理中にそのセッションを使って問い合わせを発行すると、そのセッションは切断されるので注意してください。)
        プライマリサーバがダウンしたときには、依然としてすべてのセッションが切断されます。
        ヘルスチェックがタイムアウトした場合にも、すべてのセッションが切断されます。
        それ以外のケース、たとえばヘルスチェックの再試行回数がオーバーした場合には、全セッションの切断は起きません。
index 5e403a8c4555667d4272a9abc17459feb3a2e487..c366efb73c5671fce54996ba6509e844f95af5a3 100644 (file)
        which makes it ready again to accept client connections.
       </para>
       <para>
-       However from <productname>Pgpool-II</productname> 3.6, in
-       the steaming replication mode, client sessions will not be
-       disconnected when a fail-over occurs any more if the
-       session does not use the failed standby server. If the
-       primary server goes down, still all sessions will be
-       disconnected. Health check timeout case will also cause
-       the full session disconnection. Other health check error,
-       including retry over case does not trigger full session
+       However from <productname>Pgpool-II</productname> 3.6, in the
+       steaming replication mode, client sessions will not be
+       disconnected any more when a failover occurs if the session
+       does not use the failed standby server. Please note that if a
+       query is sent while failover is processing, the session will be
+       disconnected. If the primary server goes down, still all
+       sessions will be disconnected. Health check timeout case will
+       also cause the full session disconnection. Other health check
+       error, including retry over case does not trigger full session
        disconnection.
       </para>
      </note>