pub fn should_compact(
delta_log_bytes: usize,
compacted_doc_bytes: usize,
commits_since_compaction: u32,
) -> boolExpand description
Whether a document should be rewritten as a fresh compacted snapshot.
compacted_doc_bytes is the size of the last snapshot written for the
document (zero if it has never been compacted).