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 is100KB . You can change this value in the
311
+ lag is10MB . 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 to100KB .
577
+ By default, <varname>multimaster.min_recovery_lag</varname> is set to10MB .
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 to100MB . Setting
599
+ set to1GB . 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.
@@ -1030,13 +1030,13 @@ pg_ctl -D <replaceable>datadir</replaceable> -l <replaceable>pg.log</replaceable
1030
1030
<varlistentry><term><varname>multimaster.min_recovery_lag</varname><indexterm><primary><varname>multimaster.min_recovery_lag</varname></primary></indexterm></term><listitem><para>
1031
1031
Minimal WAL lag
1032
1032
between the node to be restored and the current cluster state, in
1033
- bytes . When this threshold is reached during node recovery, the
1033
+ kB . When this threshold is reached during node recovery, the
1034
1034
cluster is locked for write transactions until the recovery is
1035
- complete. </para><para>Default:100000
1035
+ complete. </para><para>Default:10MB
1036
1036
</para></listitem></varlistentry>
1037
1037
<varlistentry><term><varname>multimaster.max_recovery_lag</varname><indexterm><primary><varname>multimaster.max_recovery_lag</varname></primary></indexterm></term><listitem><para>
1038
1038
Maximal WAL lag
1039
- size, inbytes . When a node is disconnected from the cluster, other
1039
+ size, inkB . When a node is disconnected from the cluster, other
1040
1040
nodes copy WALs for all new transactions into the replication slot of
1041
1041
this node. Upon reaching the
1042
1042
<varname>multimaster.max_recovery_lag</varname> value, the
@@ -1046,7 +1046,7 @@ pg_ctl -D <replaceable>datadir</replaceable> -l <replaceable>pg.log</replaceable
1046
1046
the data from one of the alive nodes using
1047
1047
<application>pg_basebackup</application> or a similar tool. If you set this
1048
1048
variable to zero, replication slot will not be dropped. </para><para>Default:
1049
- 100000000
1049
+ 1GB
1050
1050
</para></listitem></varlistentry>
1051
1051
<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>
1052
1052
Boolean.
@@ -1144,9 +1144,9 @@ pg_ctl -D <replaceable>datadir</replaceable> -l <replaceable>pg.log</replaceable
1144
1144
</indexterm>
1145
1145
</term>
1146
1146
<listitem>
1147
- <para>The maximal size of transaction, inMB . When this threshold is reached, the transaction is written to the disk.
1147
+ <para>The maximal size of transaction, inkB . When this threshold is reached, the transaction is written to the disk.
1148
1148
</para>
1149
- <para>Default:100
1149
+ <para>Default:100MB
1150
1150
</para>
1151
1151
</listitem>
1152
1152
</varlistentry>