Skip to main content

active_log_path

Function active_log_path 

pub fn active_log_path() -> Option<PathBuf>
Expand description

The canonical active log file path: the path the currently installed writer actually persists to, or None when persistence is disabled at the writer layer. Unlike runtime_trace_path, this is None when storage is disabled, so consumers that gate the path on “is persistence active?” read one source of truth (the writer state) instead of mixing a runtime config snapshot with the writer state.