pub fn execute_compaction_with_retry<F>(
session: &mut SessionManager,
keep_recent_groups: usize,
max_retries: u32,
generate_summary: F,
) -> Result<Option<CompactionResult>>Expand description
Execute manual compaction with overflow retry.
If the generate_summary closure returns None (indicating the summarizer
could not handle the input), this function increases keep_recent_groups by
2 each retry, shrinking the summarization target, up to max_retries times.