Skip to content

[Config] Document 'snapshot' and 'wal' configuration settings #4013

Closed
@andreyaksenov

Description

@andreyaksenov

Product: Tarantool
Since: 3.0
Root document:

  • A new Persistence topic in the Configuration section.
  • New snapshot and wal sections in the Configuration reference.
  • Check and update links to config options (for example, in the audit log section)

SME: @ Totktonada

Details

Important note:

tt configuration also includes WAL/snapshot storage settings (run_dir, log_dir, wal_dir, memtx_dir, vinyl_dir): https://www.tarantool.io/en/doc/latest/reference/tooling/tt_cli/configuration/.
This means that we need to understand how they work together with Tarantool settings and which approach to use to configure these settings.

Options:

Related topics:

Legacy options:

| TT_SNAPSHOT_BY_INTERVAL                               | number         | 3600                                          | Community Edition  |
| TT_SNAPSHOT_BY_WAL_SIZE                               | integer        | 1e+18                                         | Community Edition  |
| TT_SNAPSHOT_COUNT                                     | integer        | 2                                             | Community Edition  |
| TT_SNAPSHOT_DIR                                       | string         | var/lib/{{ instance_name }}                   | Community Edition  |
| TT_SNAPSHOT_SNAP_IO_RATE_LIMIT                        | number         | box.NULL                                      | Community Edition  |
| TT_WAL_CLEANUP_DELAY                                  | number         | 14400                                         | Community Edition  |
| TT_WAL_DIR                                            | string         | var/lib/{{ instance_name }}                   | Community Edition  |
| TT_WAL_DIR_RESCAN_DELAY                               | number         | 2                                             | Community Edition  |
| TT_WAL_EXT_NEW                                        | boolean        | nil                                           | Enterprise Edition |
| TT_WAL_EXT_OLD                                        | boolean        | nil                                           | Enterprise Edition |
| TT_WAL_EXT_SPACES                                     | map            | nil                                           | Enterprise Edition |
| TT_WAL_MAX_SIZE                                       | integer        | 268435456                                     | Community Edition  |
| TT_WAL_MODE                                           | string         | write                                         | Community Edition  |
| TT_WAL_QUEUE_MAX_SIZE                                 | integer        | 16777216                                      | Community Edition  |

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions