Skip to main content

load_checkpoint_by_id

Function load_checkpoint_by_id 

Source
pub fn load_checkpoint_by_id(
    dir: &Path,
    end_offset: i64,
    epoch: i32,
) -> Option<Vec<u8>>
Expand description

Read a specific checkpoint <end_offset>-<epoch>.checkpoint by id, or None if it is absent (the leader’s FetchSnapshot serve path).