Doc: add note about auto_failback
authorTakuma Hoshiai <hoshiai@sraoss.co.jp>
Tue, 23 Jun 2020 05:46:38 +0000 (14:46 +0900)
committerTakuma Hoshiai <hoshiai@sraoss.co.jp>
Tue, 23 Jun 2020 05:46:38 +0000 (14:46 +0900)
If user uses replication_slot, replication slot is may deleted by
failover_command when standby node is down. In this case, pgpool
can't get replication status, so the feature of auto failback is
may not worked.

doc.ja/src/sgml/failover.sgml
doc/src/sgml/failover.sgml

index 4a785d3eb785c28399d255d9cee7b048ff9b140f..584aa29226abc698d6fe1b96abc580ebb9b2d4b7 100644 (file)
       デフォルトはoffです。
       このパラメータは<productname>Pgpool-II</productname>の設定を再読み込みすることで変更可能です。
      </para>
+
+     <note>
+      <para>
+       <!--
+       <xref linkend="guc-auto-failback"> may not work, when replication slot is used.
+       There’s possibility that the streaming replication is stopped, bacause
+       <xref linkend="guc-failover-command"> is executed and replication slot is deleted by
+       the command.
+       -->
+       レプリケーションスロットを使用している場合、<xref linkend="guc-auto-failback">が動作しない可能性があることに注意してください。
+       スタンバイノードがダウンした際に<xref linkend="guc-failover-command">によりスタンバイのレプリケーションスロットが削除され、レプリケーションが停止している可能性があるためです。
+      </para>
+     </note>
     </listitem>
    </varlistentry>
 
index 3597de62d8e73af50471a3b5db8c5e833f7cb404..8e8428769684b81e50c75348a608d69492c8ccad 100644 (file)
      <para>
       The default is off. This parameter can be changed by reloading the <productname>Pgpool-II</> configurations.
      </para>
+
+     <note>
+      <para>
+       <xref linkend="guc-auto-failback"> may not work, when replication slot is used.
+       There’s possibility that the streaming replication is stopped, bacause
+       <xref linkend="guc-failover-command"> is executed and replication slot is deleted by
+       the command.
+      </para>
+     </note>
     </listitem>
    </varlistentry>