308
308
When the node gets synchronized up to the minimum recovery
309
309
lag, all the cluster nodes get locked for write transactions to allow the
310
310
recovery process to finish. By default, the minimum recovery
311
- lag is 100KB . You can change this value in the
311
+ lag is 10MB . You can change this value in the
312
312
<varname>multimaster.min_recovery_lag</varname> variable.
313
313
</para>
314
314
</listitem>
@@ -574,7 +574,7 @@ SELECT mtm.get_cluster_state();
574
574
<para>
575
575
<varname>multimaster.min_recovery_lag</varname> — sets the
576
576
minimal WAL lag between the node to be restored and the current cluster state.
577
- By default, <varname>multimaster.min_recovery_lag</varname> is set to 100KB .
577
+ By default, <varname>multimaster.min_recovery_lag</varname> is set to 10MB .
578
578
When the disconnected node is fast-forwarded up to the
579
579
<varname>multimaster.min_recovery_lag</varname> threshold,
580
580
<filename>multimaster</filename> stops all new commits to the
@@ -596,7 +596,7 @@ SELECT mtm.get_cluster_state();
596
596
</itemizedlist>
597
597
<para>
598
598
By default, <varname>multimaster.max_recovery_lag</varname> is
599
- set to 100MB . Setting
599
+ set to 1GB . Setting
600
600
<varname>multimaster.max_recovery_lag</varname> to a larger
601
601
value increases the timeframe for automatic recovery, but
602
602
requires more disk space for WAL collection.
@@ -1032,13 +1032,13 @@ pg_ctl -D <replaceable>datadir</replaceable> -l <replaceable>pg.log</replaceable
1032
1032
<varlistentry><term><varname>multimaster.min_recovery_lag</varname><indexterm><primary><varname>multimaster.min_recovery_lag</varname></primary></indexterm></term><listitem><para>
1033
1033
Minimal WAL lag
1034
1034
between the node to be restored and the current cluster state, in
1035
- bytes . When this threshold is reached during node recovery, the
1035
+ kB . When this threshold is reached during node recovery, the
1036
1036
cluster is locked for write transactions until the recovery is
1037
- complete. </para><para>Default: 100000
1037
+ complete. </para><para>Default: 10MB
1038
1038
</para></listitem></varlistentry>
1039
1039
<varlistentry><term><varname>multimaster.max_recovery_lag</varname><indexterm><primary><varname>multimaster.max_recovery_lag</varname></primary></indexterm></term><listitem><para>
1040
1040
Maximal WAL lag
1041
- size, in bytes . When a node is disconnected from the cluster, other
1041
+ size, in kB . When a node is disconnected from the cluster, other
1042
1042
nodes copy WALs for all new transactions into the replication slot of
1043
1043
this node. Upon reaching the
1044
1044
<varname>multimaster.max_recovery_lag</varname> value, the
@@ -1048,7 +1048,7 @@ pg_ctl -D <replaceable>datadir</replaceable> -l <replaceable>pg.log</replaceable
1048
1048
the data from one of the alive nodes using
1049
1049
<application>pg_basebackup</application> or a similar tool. If you set this
1050
1050
variable to zero, replication slot will not be dropped. </para><para>Default:
1051
- 100000000
1051
+ 1GB
1052
1052
</para></listitem></varlistentry>
1053
1053
<varlistentry id="ignore-tables-without-pk"><term><varname>multimaster.ignore_tables_without_pk</varname><indexterm><primary><varname>multimaster.ignore_tables_without_pk</varname></primary></indexterm></term><listitem><para>
1054
1054
Boolean.
@@ -1146,9 +1146,9 @@ pg_ctl -D <replaceable>datadir</replaceable> -l <replaceable>pg.log</replaceable
1146
1146
</indexterm>
1147
1147
</term>
1148
1148
<listitem>
1149
- <para>The maximal size of transaction, in MB . When this threshold is reached, the transaction is written to the disk.
1149
+ <para>The maximal size of transaction, in kB . When this threshold is reached, the transaction is written to the disk.
1150
1150
</para>
1151
- <para>Default: 100
1151
+ <para>Default: 100MB
1152
1152
</para>
1153
1153
</listitem>
1154
1154
</varlistentry>
0 commit comments