Skip to main content

is_quiet_window

Function is_quiet_window 

Source
fn is_quiet_window(files: &[FileHandle], region_sequence: u64) -> bool
Expand description

Whether the region has written at least as many rows as files hold, and at least one row, since the newest of them was written. Sequences are assigned per row and compaction keeps the inputs’ maximum, so this needs no state. Files written before row counts were recorded have zero rows, so a window holding them is not quiet.