Skip to main content

set_epoch

Function set_epoch 

Source
pub fn set_epoch(
    conn: &Connection,
    id: &str,
    epoch: u32,
    ended: &Vector,
) -> Result<()>
Expand description

A member left: the collection moves to the next key epoch. ended is what the membership change says each remaining member had written at the epoch being left: a record at that old epoch is still taken (a member that had not yet caught up completes its catch-up) when it is within its origin’s end; any other record at an old epoch is refused, so a removed member (which has no end) cannot write on at the old key.