Skip to main content

MAX_CONSECUTIVE_COMPACT_FAILURES

Constant MAX_CONSECUTIVE_COMPACT_FAILURES 

Source
pub const MAX_CONSECUTIVE_COMPACT_FAILURES: u32 = 3;
Expand description

Stop attempting proactive compaction after this many consecutive failures. Emergency compaction (compact_on_overflow) is exempt — it is the last-resort recovery for an already-failed turn.