Skip to main content

Module restore_sidecar

Module restore_sidecar 

Source
Expand description

Restore-side validation of archived sparse indexes and state sidecars.

Structs§

RestoreAbortedTxn
One decoded aborted-transaction index entry (AbortedTxn).
RestoreSegmentExtent
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.