Add bounds checking to prevent panic when WAL files are empty or truncated. Introduces `--wal-replay-fail-on-error` flag to control behavior when encountering corrupt WAL files during replay. - Add WalFileTooSmall error for files missing required header bytes - Validate minimum file size (12 bytes) before attempting deserialization - Make WAL replay configurable: skip corrupt files by default or fail on error - Add comprehensive tests for empty, truncated, and header-only files Closes #26549 |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml |