Skip to main content

should_compact

Function should_compact 

Source
pub fn should_compact(
    commit_version: Version,
    compaction_interval: Version,
) -> bool
Expand description

Determine if log compaction should be performed based on the commit version and compaction interval.