Expand description
Diskless WAL admission decisions.
Enums§
- WalFetch
Admission - Result of authorizing and epoch-fencing one diskless WAL Fetch.
Functions§
- exact_
wal_ batch_ range - Check that decoded WAL batches cover exactly one contiguous half-open range.
- select_
wal_ voter_ index - Select the first candidate, in the caller’s order, whose node and rack are
both unused. When
require_localis set, only the local broker is eligible. - select_
wal_ voters - Assemble the existing greedy, local-first placement across distinct nodes and racks. An incomplete result must be rejected by the quorum installer.
- wal_
batch_ equal - Compare actual encoded batch bytes and their inclusive offset coordinates. Matching lengths or frontiers alone do not establish the same records.
- wal_
checkpoint_ range_ valid - A nonempty checkpoint must end at the observed whole batch’s successor. Its logical floor may lie inside a batch; an empty range is reset at that floor.
- wal_
covering_ batch_ range - Whole batches may cover an interior logical floor. They must still form
an exact physical prefix ending at
target; the first batch containsstart. - wal_
fetch_ admission - Authorize a diskless WAL Fetch and classify its leader epoch.
- wal_
voter_ set_ valid - Admit exactly a complete, nonempty, local-first set of distinct voter IDs. A repeated ID cannot vote twice through the same durable-offset map entry.