package
20.1.0-alpha20191216+incompatible
Repository: https://github.com/knz/cockroach.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

ClockTracker returns a tracker which always returns the current time and no records.

# Variables

ErrExists returned from Protect when trying to protect a record with an ID which already exists.
ErrNotExists is returned from Get or Release if the record does not exist.
MaxBytes controls the maximum number of bytes worth of spans and metadata which can be protected by all protected timestamp records.
MaxSpans controls the maximum number of spans which can be protected by all protected timestamp records.
PollInterval defines how frequently the protectedts state is polled by the Tracker.

# Interfaces

Provider is the central coordinator for the protectedts subsystem.
Storage provides clients with a mechanism to transactionally protect and release protected timestamps for a set of spans.
Tracker is used in the storage package to determine a safe timestamp for garbage collection of expired data.
Verifier provides a mechanism to verify that a created Record will certainly apply.