Expand description
Shared strict WAL framed-record tail validation.
This module defines the single source of truth for classifying trailing WAL corruption across writer bootstrap, reader iteration, and replay paths.
Structs§
- Lenient
Validation Result - Result of lenient WAL tail validation.
- Parsed
WalRecord - A decoded framed WAL record returned by the shared parser.
- WalCorruption
- Typed WAL corruption details used by all restart paths.
- WalValidation
Summary - Summary emitted when WAL validation succeeds with no corruption.
Enums§
- WalCorruption
Reason Code - Stable, machine-readable corruption reason codes for WAL tail validation.
Functions§
- parse_
record_ at - Parses one framed record at
offset. - validate_
tail_ lenient - Leniently validates a WAL byte stream, reporting trailing corruption without failing.
- validate_
tail_ strict - Strictly validates an entire WAL byte stream.