pub fn open_run_with_options(
config: &EventStoreConfig,
instance_id: &str,
run_id: RunId,
parent_run_id: Option<RunId>,
start_ts_init: UnixNanos,
components: &RegisteredComponents,
halt_signal: HaltSignal,
clock: &'static AtomicTime,
options: &EventStoreLifecycleOptions,
) -> Result<EventStoreSession, BootError>Expand description
Opens a fresh run with process-local lifecycle options.
This follows open_run but obtains the backend and encoder registry from
options.
ยงErrors
Returns an error if the backend rejects open, if the writer rejects the submit, if the commit does not happen inside the configured ceiling, or if the writer fail-stops while waiting for the commit.