package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
Make creates a StateLoader.
UninitializedReplicaState returns the ReplicaState of an uninitialized Replica with the given range ID.
WriteInitialRangeState writes the initial range state.
WriteInitialReplicaState sets up a new Range, but without writing an associated Raft state (which must be written separately via SynthesizeRaftState before instantiating a Replica).
# Constants
InitialLeaseAppliedIndex is the starting LAI of a Range.
RaftInitialLog{Index,Term} are the starting points for the raft log.
RaftInitialLog{Index,Term} are the starting points for the raft log.
# Structs
StateLoader contains accessor methods to read or write the fields of kvserverbase.ReplicaState.