package
19.2.12+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
MaxRaftCommandFooterSize returns the maximum possible size of an encoded RaftCommandFooter proto.
No description provided by the author
# Constants
ERROR indicates that the lease can't be used or acquired.
EXPIRED indicates that the lease can't be used.
PROSCRIBED indicates that the lease's proposed timestamp is earlier than allowed.
STASIS indicates that the lease has not expired, but can't be used because it is close to expiration (a stasis period at the end of each lease is one of the ways we handle clock uncertainty).
VALID indicates that the lease can be used.
DEAD indicates the node is considered dead.
DECOMMISSIONED indicates a node that has finished the decommissioning process.
DECOMMISSIONING indicates a node that is in the decommissioning process.
LIVE indicates a live node.
UNAVAILABLE indicates that the node is unavailable - it has not updated its liveness record recently enough to be considered live, but has not been unavailable long enough to be considered dead.
No description provided by the author
Add is the event type recorded when a range adds a new replica.
Merge is the event type recorded when a range merges.
Remove is the event type recorded when a range removed an existing replica.
These are lower case to maintain compatibility with how they were originally stored.
The set of possible reasons for range events to happen.
The set of possible reasons for range events to happen.
The set of possible reasons for range events to happen.
The set of possible reasons for range events to happen.
The set of possible reasons for range events to happen.
The set of possible reasons for range events to happen.
The set of possible reasons for range events to happen.
The set of possible reasons for range events to happen.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
ChangeReplicas is emitted by a Replica which commits a transaction with a ChangeReplicasTrigger.
Compaction holds core details about a suggested compaction.
ComputeChecksum is emitted when a ComputeChecksum request is evaluated.
LatchManagerInfo is used for reporting status information about a spanlatch manager out through the status server.
LeaseStatus holds the lease state, the timestamp at which the state is accurate, the lease and optionally the liveness if the lease is epoch-based.
Liveness holds information about a node's latest heartbeat and epoch.
LogicalOpLog is a log of logical MVCC operations.
Merge is emitted by a Replica which commits a transaction with a MergeTrigger (i.e.
RaftCommand is the message written to the raft log.
RaftCommandFooter contains a subset of the fields in RaftCommand.
RangeInfo is used for reporting status information about a range out through the status server.
No description provided by the author
No description provided by the author
No description provided by the author
ReplicaState is the part of the Range Raft state machine which is cached in memory and which is manipulated exclusively through consensus.
ReplicatedEvalResult is the structured information which together with a RocksDB WriteBatch constitutes the proposal payload in proposer-evaluated KV.
AddSSTable is a side effect that must execute before the Raft application is committed.
Split is emitted when a Replica commits a split trigger.
SuggestedCompaction holds start and end keys in conjunction with the compaction details.
WriteBatch is the serialized representation of a RocksDB write batch.
# Type aliases
No description provided by the author
NodeLivenessStatus describes the status of a node from the perspective of the liveness system.
RangeLogEventReason specifies the reason why a range-log event happened.
No description provided by the author