Expand description
Local-log segment-chain and torn-tail recovery decisions.
Structs§
- Local
Recovery Step - Local
Recovery Swap Facts - What
Log::openobserves at one base offset that carries a compaction.swapfile, from a single directory listing.
Enums§
- Local
Recovery Swap Action - Crash-recovery action for one base offset that carries
.swapfiles.
Functions§
- local_
recovery_ batch_ step - Admit one completely decoded batch into the maximal valid tail prefix.
- local_
recovery_ index_ frontier - The exclusive frontier of a recovered segment, relative to its base, when it fits Kafka’s 32-bit relative-offset index.
- local_
recovery_ sealed_ last - Close a sealed segment exactly one offset before the next segment base.
- local_
recovery_ segment_ chain - Validate the discovered segment bases as one strictly ordered, nonnegative chain.
- local_
recovery_ swap_ action - 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.
- local_
recovery_ swap_ replaces - Whether completing a swap based at
swap_base, whose records end beforeswap_next, replaces the segment based atsegment_base.