Skip to main content

next_epoch

Function next_epoch 

Source
pub fn next_epoch(lease_epoch: u64, fence: Option<u64>) -> Option<u64>
Expand description

The epoch a takeover writes: above both the journaled lease’s and the store’s fence (which may be ahead if an earlier takeover crashed between the two writes). None when epochs are exhausted.