Skip to main content

Module barrier

Module barrier 

Source
Expand description

Barrier target, marker-fence, and cut-classification decisions.

Structs§

BarrierMarkerFenceFacts
Facts that bind a marker append to one installed leadership generation.

Enums§

BarrierCutClassification
The status derived from the exact missing-target set.
BarrierMarkerFenceDecision
Whether one marker append is admitted by the leader and epoch fence.
BarrierPlacementDecision
Whether one successful marker response may enter the cut.
BarrierTargetCountDecision
The result of adding one topic’s partitions to a frozen target count.

Functions§

barrier_cut_classification
barrier_marker_fence_decision
Require the metadata image and installed partition to name exactly the expected leader generation; see barrier_marker_fence_model for which refusal each mismatch gets.
barrier_placement_decision
barrier_target_count_decision
Add a topic’s exact positive partition count without wrapping.