package
20.1.0-rc.2+incompatible
Repository: https://github.com/cargillb/cockroachdb.git
Documentation: pkg.go.dev
# Packages
Package lock provides type definitions for locking-related concepts used by concurrency control in the key-value layer.
# Functions
NewManager creates a new concurrency Manager structure.
# Variables
LockTableDeadlockDetectionPushDelay sets the delay before pushing in order to detect dependency cycles between transactions.
LockTableLivenessPushDelay sets the delay before pushing in order to detect coordinator failures of conflicting transactions.
# Interfaces
ContentionHandler is concerned with handling contention-related errors.
IntentResolver is an interface used by lockTableWaiterImpl to push transactions and to resolve intents.
LockManager is concerned with tracking locks that are stored on the manager's range.
Manager is a structure that sequences incoming requests and provides isolation between requests that intend to perform conflicting operations.
MetricExporter is concerned with providing observability into the state of the concurrency manager.
RangeStateListener is concerned with observing updates to the concurrency manager's range.
RequestSequencer is concerned with the sequencing of concurrent requests.
TransactionManager is concerned with tracking transactions that have their record stored on the manager's range.