From 13b5a290f1de9b90b75274e9ad501de95bc48342 Mon Sep 17 00:00:00 2001 From: Tatsuo Ishii Date: Tue, 18 Feb 2020 10:28:39 +0900 Subject: [PATCH] Doc: clarify the session disconnection conditions while failover. --- doc.ja/src/sgml/failover.sgml | 12 +----------- doc/src/sgml/failover.sgml | 17 +++++++++-------- 2 files changed, 10 insertions(+), 19 deletions(-) diff --git a/doc.ja/src/sgml/failover.sgml b/doc.ja/src/sgml/failover.sgml index 7b5041676..936b77fce 100644 --- a/doc.ja/src/sgml/failover.sgml +++ b/doc.ja/src/sgml/failover.sgml @@ -240,18 +240,8 @@ その後、Pgpool-IIはfailover_commandを実行し、コマンドが完了した後にPgpool-IIはクライアントからの接続を再び受け付ける準備のため新しい子プロセスを起動します。 - しかし、Pgpool-II 3.6以降では、そのセッションがダウンしたスタンバイを使用していない場合には、フェイルオーバが起こってもセッションが切断されません。 + (ただし、フェイルオーバ処理中にそのセッションを使って問い合わせを発行すると、そのセッションは切断されるので注意してください。) プライマリサーバがダウンしたときには、依然としてすべてのセッションが切断されます。 ヘルスチェックがタイムアウトした場合にも、すべてのセッションが切断されます。 それ以外のケース、たとえばヘルスチェックの再試行回数がオーバーした場合には、全セッションの切断は起きません。 diff --git a/doc/src/sgml/failover.sgml b/doc/src/sgml/failover.sgml index 8b1e7734f..271633dbc 100644 --- a/doc/src/sgml/failover.sgml +++ b/doc/src/sgml/failover.sgml @@ -210,14 +210,15 @@ which makes it ready again to accept client connections. - However from Pgpool-II 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 + However from Pgpool-II 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. -- 2.39.5