package
19.2.12+incompatible
Repository: https://github.com/cockroachdb/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.
BulkAdderOptions is used to configure the behavior of a BulkAdder.
DuplicateKeyError represents a failed attempt to ingest the same key twice using a BulkAdder within the same batch.
FilterArgs groups the arguments to a ReplicaCommandFilter.
IntentResolverTestingKnobs contains testing helpers that are used during intent resolution.
ProposalFilterArgs groups the arguments to ReplicaProposalFilter.

# Interfaces

BulkAdder describes a bulk-adding helper that can be used to add lots of KVs.

# Type aliases

BulkAdderFactory describes a factory function for BulkAdders.
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.