package
19.1.0-beta.20190304+incompatible
Repository: https://github.com/darinpp/cockroach.git
Documentation: pkg.go.dev

# Functions

Make creates an Instance.
WriteInitialReplicaState sets up a new Range, but without writing an associated Raft state (which must be written separately via synthesizeRaftState before instantiating a Replica).
WriteInitialState calls WriteInitialReplicaState followed by SynthesizeRaftState.

# Constants

TruncatedStateLegacyReplicated means use the legacy (replicated) key.
TruncatedStateUnreplicated means use the new (unreplicated) key.

# Structs

StateLoader contains accessor methods to read or write the fields of storagebase.ReplicaState.

# Type aliases

TruncatedStateType determines whether to use a replicated (legacy) or an unreplicated TruncatedState.