package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev

# Functions

MakeEmptyConfig constructs and returns an empty Config.

# Constants

VoteLost indicates that the quorum has voted "no".
VotePending indicates that the decision of the vote depends on future votes, i.e.
VoteWon indicates that the quorum has voted "yes".

# Structs

Config reflects the configuration of a raft group.

# Interfaces

AckedIndexer allows looking up a commit index for a given ID of a voter from a corresponding MajorityConfig.

# Type aliases

Index is a Raft log position.
JointConfig is a configuration of two groups of (possibly overlapping) majority configurations.
MajorityConfig is a set of IDs that uses majority quorums to make decisions.
VoteResult indicates the outcome of a vote.