pub const fn local_recovery_swap_action(
facts: LocalRecoverySwapFacts,
) -> LocalRecoverySwapActionExpand description
Classify one swap set: abort it only while it is uncommitted, and complete it whenever it is committed, whether or not the original log still exists.
Aborting is safe only because the host deletes no replaced segment before
the .cleaned-to-.swap rename of the log is durable (host
responsibility: atomic_swap fsyncs the directory between the two steps).