pgpool2.git / summary / log / commit / refs
commit f9330c2c8d4a36a7539ba04b8e14adff750caaec
Author: Tatsuo Ishii <ishii@sraoss.co.jp>
Date: Wed Oct 10 04:05:39 2018 +0000
doc: add note to online recovery doc.
This warns that client_idle_limit_in_recovery must be smaller than
recovery_timeout.
doc.ja/src/sgml/online-recovery.sgml | 17 +++++++++++++++++
doc/src/sgml/online-recovery.sgml | 14 ++++++++++++++
2 files changed, 31 insertions(+)
diff --git a/doc.ja/src/sgml/online-recovery.sgml b/doc.ja/src/sgml/online-recovery.sgml
index 4394694f2..e33881ad2 100644
--- a/doc.ja/src/sgml/online-recovery.sgml
+++ b/doc.ja/src/sgml/online-recovery.sgml
@@ -579,6 +579,23 @@ rsync used in the command is killed by signal 2 for example.
-->
これは、だらしないクライアントや<productname>Pgpool-II</productname>の間のTCP/IPコネクションの不調(例えばケーブルの切断など)によって、<productname>Pgpool-II</productname>のリカバリが邪魔されるのを防止するのに役立ちます。
</para>
+
+ <note>
+ <para>
+<!--
+ <varname>client_idle_limit_in_recovery</varname> must be smaller than
+ <xref linkend="guc-recovery-timeout">.
+ Otherwise, <xref linkend="guc-recovery-timeout"> comes
+ first and you will see following error while executing online recovery:
+-->
+<varname>client_idle_limit_in_recovery</varname>は、<xref linkend="guc-recovery-timeout">よりも小さな値でなければなりません。
+さもないと、<xref linkend="guc-recovery-timeout">のタイムアウトが先に起こり、オンラインリカバリを実行中に以下のエラーとなります。
+ <programlisting>
+ERROR: node recovery failed, waiting connection closed in the other pgpools timeout
+ </programlisting>
+ </para>
+ </note>
+
<para>
<!--
If set to -1, all clients get immediately disconnected when the second
diff --git a/doc/src/sgml/online-recovery.sgml b/doc/src/sgml/online-recovery.sgml
index 1d271c698..f1c9d3379 100644
--- a/doc/src/sgml/online-recovery.sgml
+++ b/doc/src/sgml/online-recovery.sgml
@@ -389,12 +389,26 @@ rsync used in the command is killed by signal 2 for example.
connection between the client and <productname>Pgpool-II</productname>
is accidentally down (a cut cable for instance).
</para>
+
+ <note>
+ <para>
+ <varname>client_idle_limit_in_recovery</varname> must be smaller than
+ <xref linkend="guc-recovery-timeout">.
+ Otherwise, <xref linkend="guc-recovery-timeout"> comes
+ first and you will see following error while executing online recovery:
+ <programlisting>
+ERROR: node recovery failed, waiting connection closed in the other pgpools timeout
+ </programlisting>
+ </para>
+ </note>
+
<para>
If set to -1, all clients get immediately disconnected when the second
stage of online recovery starts.
The default is 0, which turns off the feature.
</para>
+
<para>
This parameter can be changed by reloading the <productname>Pgpool-II</> configurations.
You can also use <xref linkend="SQL-PGPOOL-SET"> command to alter the value of
[parent: cec5bb7e7376]