Skip to content

feedback: Configuration reference | Tarantool #3727

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
TarantoolBot opened this issue Sep 20, 2023 · 0 comments · Fixed by #4023
Closed

feedback: Configuration reference | Tarantool #3727

TarantoolBot opened this issue Sep 20, 2023 · 0 comments · Fixed by #4023
Assignees
Labels
config reference [location] Tarantool manual, Reference part

Comments

@TarantoolBot
Copy link
Collaborator

TarantoolBot commented Sep 20, 2023

<…>ch disk space to allocate for a partition containing
WAL files.
|For example, suppose
checkpoint_interval
= 2 and
checkpoint_count
= 5
and the average amount that Tarantool writes between each checkpoint interval
= 1 GB.
Then one could calculate that the necessary amount is (2*5*1) 10GB.
But this calculation would be wrong if, instead of writing 1 GB
during one checkpoint interval,
Tarantool encounters an unusual spike and tries to write 11 GB,
causing an operating-system ENOSPC (“no space”) error.
By setting checkpoint_wal_threshold to a lower value, say 9 GB,
an administrator could prevent the error.|

Type: integer
Default: 10^18 (a large number so in effect ther<…>

https://www.tarantool.io/en/doc/latest/reference/configuration/

The example is confusing.
checkpoint_interval = 2 - seconds ?
Why (2 * 5 *1) GB if we assume that tarantool writes 1 GB per interval (2 seconds). Wouldn't it be 5 * 1 GB in total?

Besides, checkpoint_wal_threshold only controls WALs after the last checkpoint, not size of all wals. So setting checkpoint_wal_threshold to 9 GB would be erroneous and wouldn't prevent the error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
config reference [location] Tarantool manual, Reference part
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants