Skip to main content

Module repair

Module repair 

Source
Expand description

WAL file repair utilities.

This module provides controlled truncation of trailing partial records in a WAL file, enabling recovery from crashes that left incomplete writes.

Enums§

RepairPolicy
Policy controlling how the WAL writer handles trailing corruption on bootstrap.

Functions§

truncate_to_last_valid
Truncates a WAL file to the given valid_end_offset.