|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
User-tunable knobs for save_checkpoint.
More...
#include <ca-checkpoint.H>
Public Attributes | |
| bool | compress = false |
| Enable DEFLATE compression of the frame payload. | |
| int | level = 6 |
DEFLATE level in [1, 9]. 0 falls back to 6. | |
| bool | sync_dir = true |
Call fsync on the parent directory after the atomic rename. | |
User-tunable knobs for save_checkpoint.
Defaults preserve the Phase 15 behaviour (raw, uncompressed bytes, no fsync on the parent directory). Phase 17 callers that care about crash safety should keep sync_dir = true.
Definition at line 412 of file ca-checkpoint.H.
Enable DEFLATE compression of the frame payload.
Definition at line 415 of file ca-checkpoint.H.
| int Aleph::CA::Checkpoint_Options::level = 6 |
DEFLATE level in [1, 9]. 0 falls back to 6.
Definition at line 417 of file ca-checkpoint.H.
Call fsync on the parent directory after the atomic rename.
Costly but required for survival across kernel crashes.
Definition at line 420 of file ca-checkpoint.H.