Expand description
Durable SchedulerPersistence backend for uni-db.
Mirrors the
crate::persistence::SystemLabelPersistence pattern but scoped
to scheduler job state. Writes are dual-routed:
- JSON sidecar at
<data_path>/_system/background_jobs.json— atomic write-then-rename, source-of-truth at startup (load_all). The sidecar lives next todeclared_plugins.jsonunder the same_system/reservation. _BackgroundJobgraph label (best-effort) — issued via the sharedcrate::persistence::LazyCypherSinkonceUni::buildfinishes wiring it. Gives operatorsMATCH (j:_BackgroundJob) RETURN jvisibility without needing a separate introspection procedure.
Structs§
- System
Label Scheduler Persistence - Durable
SchedulerPersistencebacked by a JSON sidecar.
Functions§
- scheduler_
persistence_ for_ data_ path - Choose the appropriate
SchedulerPersistencefor aUniinstance. ReturnsSystemLabelSchedulerPersistencefor local-disk paths andNone(caller falls back toMemoryPersistence) for remote / in-memory URIs.