Skip to main content

wal_reservation_epoch_ready

Function wal_reservation_epoch_ready 

Source
pub fn wal_reservation_epoch_ready(
    high_watermark: i64,
    epoch_start_offset: i64,
) -> bool
Expand description

Admit reservations only after the current leader’s epoch marker commits.

That marker follows every inherited log entry, so crossing it makes the applied metadata image an exact durable base for a new reservation.