package
20.1.0-beta.2+incompatible
Repository: https://github.com/mgartner/cockroach.git
Documentation: pkg.go.dev
# Functions
AddSSTable retries db.AddSSTable if retryable errors occur, including if the SST spans a split, in which case it is iterated and split into two SSTs, one for each side of the split in the error, and each are retried.
MakeBulkAdder makes a storagebase.BulkAdder that buffers and sorts K/Vs passed to add into SSTs that are then ingested.
MakeBulkMetrics instantiates the metrics holder for bulk operation monitoring.
MakeSSTBatcher makes a ready-to-use SSTBatcher.
# Structs
BufferingAdder is a wrapper for an SSTBatcher that allows out-of-order calls to Add, buffering them up and then sorting them before then passing them in order into an SSTBatcher.
Metrics contains pointers to the metrics for monitoring bulk operations.
SSTBatcher is a helper for bulk-adding many KVs in chunks via AddSSTable.
# Interfaces
SSTSender is an interface to send SST data to an engine.