mito2::compaction::twcs

Function find_latest_window_in_seconds

Source
fn find_latest_window_in_seconds<'a>(
    files: impl Iterator<Item = &'a FileHandle>,
    time_window_size: i64,
) -> Option<i64>
Expand description

Finds the latest active writing window among all files. Returns None when there are no files or all files are corrupted.