package
2.2.0-alpha.20190114+incompatible
Repository: https://github.com/ortery/cockroach.git
Documentation: pkg.go.dev

# Functions

ContainsKey returns whether this range contains the specified key.
ContainsKeyRange returns whether this range contains the specified key range from start to end.
IntersectSpan takes an intent and a descriptor.

# Constants

TxnCleanupThreshold is the threshold after which a transaction is considered abandoned and fit for removal, as measured by the maximum of its last heartbeat and timestamp.

# Variables

MergeQueueEnabled is a setting that controls whether the merge queue is enabled.

# Structs

ApplyFilterArgs groups the arguments to a ReplicaApplyFilter.
BatchEvalTestingKnobs contains testing helpers that are used during batch evaluation.
FilterArgs groups the arguments to a ReplicaCommandFilter.
ProposalFilterArgs groups the arguments to ReplicaProposalFilter.

# Type aliases

CmdIDKey is a Raft command id.
A ReplicaApplyFilter can be used in testing to influence the error returned from proposals after they apply.
ReplicaCommandFilter may be used in tests through the StoreTestingKnobs to intercept the handling of commands and artificially generate errors.
ReplicaProposalFilter can be used in testing to influence the error returned from proposals after a request is evaluated but before it is proposed.
ReplicaRequestFilter can be used in testing to influence the error returned from a request before it is evaluated.
ReplicaResponseFilter is used in unittests to modify the outbound response returned to a waiting client after a replica command has been processed.