Module backup::endpoint[][src]

Structs

BackupRange
ConfigManager
ControlThreadPool
Endpoint

The endpoint of backup.

LimitedStorage
Progress

The progress of a backup task

Request
Task

Backup Task.

Constants

BACKUP_BATCH_LIMIT
IDLE_THREADPOOL_DURATION

Functions

backup_file_name

Construct an backup file name based on the given store id, region, range start key and local unix timestamp. A name consists with five parts: store id, region_id, a epoch version, the hash of range start key and timestamp. range start key is used to keep the unique file name for file, to handle different tables exists on the same region. local unix timestamp is used to keep the unique file name for file, to handle receive the same request after connection reset.

get_max_start_key

Get the max start key from the given start_key and Region’s start key.

get_min_end_key

Get the min end key from the given end_key and Region’s end key.

to_sst_compression_type