Skip to main content

wal_voter_set_valid

Function wal_voter_set_valid 

Source
pub fn wal_voter_set_valid(
    voters: &[u64],
    local_node: u64,
    expected: usize,
) -> bool
Expand description

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.