Expand description
Restore-side validation of archived sparse indexes and state sidecars.
Structs§
- Restore
Aborted Txn - One decoded aborted-transaction index entry (
AbortedTxn). - Restore
Segment Extent - The inclusive offset extent of the segment that owns an index.
Functions§
- restore_
index_ frontier - Compute the largest relative offset an archived sidecar may reference.
- restore_
leader_ epoch_ entry_ valid - Validate one segment-scoped leader-epoch checkpoint row.
- restore_
offset_ index_ entry_ valid - Validate one decoded offset-index entry against its predecessor and the verified log extent.
- restore_
producer_ ids_ strict - Accept exactly the canonical strictly increasing producer-ID order. Strict order also proves every ID is unique while keeping validation linear.
- restore_
time_ index_ entry_ valid - Validate one decoded time-index entry. Relative offsets strictly advance; timestamps may repeat but may not decrease.
- restore_
txn_ index_ entry_ valid - Validate one decoded aborted-transaction index entry against the previous
entry’s
last_offset.