Skip to main content

headerless_was_flushed

Function headerless_was_flushed 

pub fn headerless_was_flushed(bytes: &[u8], base_lsn: Lsn) -> bool
Expand description

For a segment whose header is unreadable: whether its body proves the segment had been activated and flushed (a valid frame from a batch after the first). If not, the header was torn by the segment’s first, never acknowledged flush.