File tree 1 file changed +26
-0
lines changed
doc/reference/configuration
1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 4
4
* :ref: `wal_mode <cfg_binary_logging_snapshots-wal_mode >`
5
5
* :ref: `wal_dir_rescan_delay <cfg_binary_logging_snapshots-wal_dir_rescan_delay >`
6
6
* :ref: `wal_queue_max_size <cfg_binary_logging_snapshots-wal_queue_max_size >`
7
+ * :ref: `wal_cleanup_delay <cfg_binary_logging_snapshots-wal_cleanup_delay >`
7
8
8
9
.. _cfg_binary_logging_snapshots-force_recovery :
9
10
111
112
| Default: 16777216 bytes
112
113
| Environment variable: TT_WAL_QUEUE_MAX_SIZE
113
114
| Dynamic: **yes**
115
+
116
+ .. _cfg_binary_logging_snapshots-wal_cleanup_delay :
117
+
118
+ .. confval :: wal_cleanup_delay
119
+
120
+ Since version :doc: `2.6.3 </release/2.6.3 >`.
121
+ The delay (in seconds) used to prevent the :ref: `Tarantool garbage collector <cfg_checkpoint_daemon-garbage-collector >`
122
+ from immediately removing :ref: `write-ahead log<internals-wal> ` files after a node restart.
123
+ This delay eliminates possible erroneous situations when the master deletes WALs
124
+ needed by :ref: `replicas <replication-roles >` after restart.
125
+ As a consequence, replicas sync with the master faster after its restart and
126
+ don't need to download all the data again.
127
+
128
+ Once all the nodes in the replica set are up and running,
129
+ automatic cleanup is started again even if ``wal_cleanup_delay `` has not expired.
130
+
131
+ .. NOTE ::
132
+
133
+ The ``wal_cleanup_delay `` option has no effect on nodes running as
134
+ :ref: `anonymous replicas<cfg_replication-replication_anon> `.
135
+
136
+ | Type: number
137
+ | Default: 14400 seconds
138
+ | Environment variable: TT_WAL_CLEANUP_DELAY
139
+ | Dynamic: **yes**
You can’t perform that action at this time.
0 commit comments