Skip to main content

sync_storage_root

Function sync_storage_root 

Source
pub fn sync_storage_root(storage_root: PathBuf)
Expand description

Move subsequent file log writes to a newly configured storage root.

Reconfiguration is queued behind existing writes and is a no-op when the root has not changed. Initialization and explicit configure changes call this directly, avoiding storage-root polling on transport drain turns.