package
20.2.19+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev

# Packages

Package slinstance provides functionality for acquiring sqlliveness leases via sessions that have a unique id and expiration.
Package slprovider exposes an implementation of the sqlliveness.Provider interface.
No description provided by the author

# Functions

IsActive returns whether the sqlliveness subsystem's migration to has been performed.
WaitForActive waits for the sqlliveness subsystem's migration to have been performed.

# Interfaces

Instance represents a SQL tenant server instance and is responsible for maintaining at most once session for this instance and heart beating the current live one if it exists and otherwise creating a new live one.
Provider is a wrapper around the sqllivness subsystem for external consumption.
Reader abstracts over the state of session records.
Session represents a SQL instance lock with expiration.

# Type aliases

SessionID represents an opaque identifier for a session.