Skip to main content

Module offset_allocator

Module offset_allocator 

Source
Expand description

Pure offset-reservation kernel for diskless WAL sequencers.

Functions§

reserve_offsets
Reserve count offsets from next, returning (base, next_after).
wal_reservation_epoch_ready
Admit reservations only after the current leader’s epoch marker commits.
wal_reservation_frontier
Extend an exact pending-reservation chain by one range.
wal_reservation_response
Admit a controller reservation response bound to the exact request and leader epoch.