package
19.2.12+incompatible
Repository: https://github.com/cockroachdb/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.
MakeSSTWriter creates a new SSTWriter.

# 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.
RowCounter is a helper that counts how many distinct rows appear in the KVs that is is shown via `Count`.
SSTBatcher is a helper for bulk-adding many KVs in chunks via AddSSTable.
SSTWriter writes SSTables.