Crate backup[−][src]
Modules
| endpoint | |
| errors | |
| metrics | |
| service | |
| writer |
Structs
| BackupRawKVWriter | A writer writes Raw kv into SST files. |
| BackupWriter | A writer writes txn entries into SST files. |
| Endpoint | The endpoint of backup. |
| Service | Service handles the RPC messages for the |
| Task | Backup Task. |
Enums
| Error | The error type for backup. |
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. |
Type Definitions
| Result |