Skip to main content

resolve_oplog_state_dir

Function resolve_oplog_state_dir 

Source
pub fn resolve_oplog_state_dir(secrets_dir: &Path) -> Result<PathBuf>
Expand description

Resolve the shared, writable head state dir.

Default: a dedicated oplog-state/ sibling of the secrets dir (shared and writable in the single-process daemon). A systemd --ipc deployment sets HYPRSTREAM_OPLOG_STATE_DIR to a shared StateDirectory= path — provisioning that shared storage is #808.