pub enum CheckpointDependencies {
V2 {
batches: Vec<String>,
state_files: Vec<String>,
},
V1(Vec<String>),
}Expand description
Serialized form of dependencies.json on disk.
Two formats. New checkpoints write the struct form (V2) carrying both
the batch list referenced at the storage root and the list of per-operator
state files inside the checkpoint dir. Old checkpoints stored only the
batch-filename array (V1); they remain readable so a rolling upgrade
across in-flight checkpoints is safe.
Variants§
V2
Fields
V1(Vec<String>)
Legacy form: JSON array of batch filenames at the storage root
(w*.feldera). No state-file manifest.
Implementations§
Source§impl CheckpointDependencies
impl CheckpointDependencies
Sourcepub fn batches(&self) -> &[String]
pub fn batches(&self) -> &[String]
Batch files the checkpoint references at the storage root
(w*.feldera). Present in both V1 and V2 checkpoints.
Sourcepub fn state_files(&self) -> &[String]
pub fn state_files(&self) -> &[String]
Per-operator state files the checkpoint owned at commit time. These
live inside the checkpoint dir (e.g. pspine-*.dat, z1-*.dat).
Empty for V1 checkpoints, which predate the state-file manifest.