package
9.0.0-alpha+incompatible
Repository: https://github.com/pingcap/tidb.git
Documentation: pkg.go.dev

# Packages

Copyright 2022 PingCAP, Inc.
Copyright 2022 PingCAP, Inc.

# Functions

AssertUserDBsEmpty check whether user dbs exist in the cluster.
CreateUniqueFileSets used for Raw/Txn non-tableID files converts a slice of files into a slice of unique BackupFileSets, where each BackupFileSet contains a single file.
GetFileRangeKey is used to reduce the checkpoint number, because we combine the write cf/default cf into one restore file group.
GetTableSchema returns the schema of a table from TiDB.
GetTS gets a new timestamp from PD.
GetTSWithRetry gets a new timestamp with retry from PD.
MarshalLogObjectForFiles is an internal util function to zap something having `Files` field.
RestorePostWork executes some post work after restore.
RestorePreWork executes some prepare work before restore.

# Constants

# Structs

BackupFileSet represents the batch files to be restored for a table.

# Interfaces

BalancedFileImporter is a wrapper around FileImporter that adds concurrency controls.
FileImporter is a low-level interface for handling the import of backup files into storage (e.g., TiKV).
SstRestorer defines the essential methods required for restoring SST files in various backup formats: 1.

# Type aliases

deprecated parameter.