Skip to main content

sync_wal

Function sync_wal 

Source
pub fn sync_wal() -> Result<(), String>
Expand description

Make every commit so far durable: the write-ahead log synced to disk. Commits are only written, not synced, until a checkpoint; this is for a step that can’t be undone after them.