package
20.1.0-beta.2+incompatible
Repository: https://github.com/jbowens/cockroach.git
Documentation: pkg.go.dev
# Functions
CalculateThreshold calculates the GC threshold given the policy and the current view of time.
Run runs garbage collection for the specified descriptor on the provided Engine (which is not mutated).
TimestampForThreshold inverts CalculateThreshold.
# Constants
2 hour.
KeyVersionChunkBytes is the threshold size for splitting GCRequests into multiple batches.
# Interfaces
A GCer is an abstraction used by the GC queue to carry out chunked deletions.
# Type aliases
CleanupIntentsFunc synchronously resolves the supplied intents (which may be PENDING, in which case they are first pushed) while taking care of proper batching.
CleanupTxnIntentsAsyncFunc asynchronously cleans up intents from a transaction record, pushing the transaction first if it is PENDING.