Skip to main content

Module guard

Module guard 

Source
Expand description

Epoch-fenced partition guards. Epoch-fenced partition guards for split-brain prevention.

A PartitionGuard validates that this node still owns a partition at the current epoch before processing events. The hot-path check() is a single AtomicU64::load(Acquire) — target < 10ns.

Structs§

ConditionalPut
Conditional PUT parameters for object storage epoch fencing.
PartitionGuard
An epoch-fenced guard for a single partition.
PartitionGuardSet
A set of partition guards managed by a single node.

Enums§

EpochError
Error returned when an epoch fence check fails.