SNAPSHOT_FALLBACK_LIMIT

Constant SNAPSHOT_FALLBACK_LIMIT 

Source
pub const SNAPSHOT_FALLBACK_LIMIT: usize = 4;
Expand description

How many older snapshot generations boot will try after the newest one is rejected.

Bounded deliberately. Corruption is expected to affect one record, so a handful of generations covers it; a payload that is systematically undecodable is a firmware bug, and walking the whole journal for it on every boot would only delay booting bare and reporting the fact.