package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
GetAllRevisions scans all keys between startKey and endKey getting all revisions between startTime and endTime.
GetRedactedBackupNode returns a copy of the argument `backup`, but with all the secret information redacted.
GetSystemTableIDsToExcludeFromClusterBackup returns a set of system table ids that should be excluded from a cluster backup.
GetSystemTablesToIncludeInClusterBackup returns a set of system table names that should be included in a cluster backup.
MakeBackupMetrics instantiates the metrics for backup.
MakeKeyRewriterFromRekeys makes a KeyRewriter from Rekey protos.
MakeKeyRewriterPrefixIgnoringInterleaved creates a table/index prefix for the given table and index IDs.
# Variables
BackupCheckpointInterval is the interval at which backup progress is saved to durable storage.
# Structs
KeyRewriter rewrites old table IDs to new table IDs.
VersionedValues is similar to roachpb.KeyValue except instead of just the value at one time, it contains all the retrieved revisions of the value for the key, with the value timestamps set accordingly.
# Interfaces
SSTBatcherExecutor wraps the SSTBatcher methods, allowing a validation only restore to implement a mock SSTBatcher used purely for job progress tracking.
# Type aliases
EntryFiles is a group of sst files of a backup table range.