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

# Functions

MakeRaftNodeBasicStateLocked makes a RaftNodeBasicState given a RawNode and current known leaseholder.
MakeReplicaStateInfos populates infoMap using a RawNode.
NewRaftNode creates a rac2.RaftInterface implementation from the given RawNode.

# Structs

EntryForAdmission is the information provided to the admission control (AC) system, when requesting admission.
EntryForAdmissionCallbackState is passed to the callback when the entry is admitted.
ProcessorOptions are specified when creating a new Processor.
RaftNodeBasicState provides basic state from the RawNode.
RangeControllerFactoryImpl is a factory to create RangeControllers.
SideChannelInfoUsingRaftMessageRequest is used to provide a follower information about the leader's protocol, and if the leader is using the RACv2 protocol, additional information about entries.

# Interfaces

ACWorkQueue abstracts the behavior needed from admission.WorkQueue.
AdmittedPiggybacker is used to enqueue admitted vector messages addressed to replicas on a particular node.
Processor handles RACv2 processing for a Replica.
RaftScheduler abstracts kvserver.raftScheduler.
RangeControllerFactory abstracts RangeController creation for testing.
ReplicaForTesting abstracts kvserver.Replica for testing.