Skip to main content

zone_is_live

Function zone_is_live 

Source
fn zone_is_live(
    gfs: &FileStore,
    zone: &str,
    own_fs: &FileStore,
    block_id: &str,
    slack_ms: i64,
) -> bool
Expand description

Whether the agent’s zone is still the copy being written: false when the block’s own copy is clearly newer (the zone stopped receiving lines), so a watch reads what the agent is writing now and agrees with Agents transcript (TranscriptSource::resolve, the same rule), not hours-old lines from the zone.