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

# Functions

No description provided by the author
MakeEmptyProgressMap constructs and returns an empty ProgressMap.
MakeProgressTracker initializes a ProgressTracker.
NewFortificationTracker initializes a FortificationTracker.
NewInflights sets up an Inflights that allows up to size inflight messages, with the total byte size up to maxBytes.

# Constants

StateCount is a sentinel value equal to the number of distinct replication flow states.
StateProbe indicates a follower whose last index isn't known.
StateReplicate is the state steady in which a follower eagerly receives log entries to append to its log.
StateSnapshot indicates a follower that needs log entries not available from the leader's Raft log.

# Structs

BasicProgress contains a subset of fields from Progress.
ElectionTracker is used to track votes from the currently active configuration and determine election results.
FortificationTracker is used to track fortification from peers.
Inflights limits the number of MsgApp (represented by the largest index contained within) sent to followers but not yet acknowledged by them.
Progress represents a follower’s progress in the view of the leader.
ProgressTracker tracks the progress made by each peer in the currently active configuration.

# Type aliases

ProgressMap is a map of *Progress.
StateType is the state of a tracked follower.