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

# Functions

ConfChangesFromString parses a Space-delimited sequence of operations into a slice of ConfChangeSingle.
ConfChangesToString is the inverse to ConfChangesFromString.
MarshalConfChange calls Marshal on the underlying ConfChange or ConfChangeV2 and returns the result along with the corresponding EntryType.

# Constants

Possible values for StateType.
Possible values for StateType.
Possible values for StateType.
Possible values for StateType.
Possible values for StateType.

# Interfaces

ConfChangeI abstracts over ConfChangeV2 and (legacy) ConfChange to allow treating them in a unified manner.

# Type aliases

Epoch is an epoch in the Store Liveness fabric, referencing an uninterrupted period of support from one store to another.
PeerID is a custom type for peer IDs in a raft group.
Priority specifies per-entry priorities, that are local to the interaction between a leader-replica pair, i.e., they are not an invariant of a particular entry in the raft log (the replica could be the leader itself or a follower).
StateType represents the role of a node in a cluster.