Skip to main content

should_capture_first_downgrade

Function should_capture_first_downgrade 

Source
pub const fn should_capture_first_downgrade(
    pending_exists: bool,
    is_downgrade: bool,
) -> bool
Expand description

Capture a metadata-version downgrade snapshot only for the first downgrade replay meets; a later downgrade never replaces the pending one.