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

# Packages

Package rangecachemock is a generated GoMock package.

# Functions

IsRangeLookupErrorRetryable returns whether the provided range lookup error can be retried or whether it should be propagated immediately.
NewRangeCache returns a new RangeCache which uses the given RangeDescriptorDB as the underlying source of range descriptors.

# Constants

DefaultSendClosedTimestampPolicy is used when the closed timestamp policy is not known by the range cache.
ReadFromFollower is the RangeLookupConsistency used to read from a follower.
ReadFromLeaseholder is the RangeLookupConsistency used to read from the leaseholder.

# Structs

EvictionToken holds eviction state between calls to Lookup.
RangeCache is used to retrieve range descriptors for arbitrary keys.

# Interfaces

RangeDescriptorDB is a type which can query range descriptors from an underlying datastore.

# Type aliases

RangeLookupConsistency is an alias for ReadConsistencyType.