pingcap / pingcap/tidb

br: add total checksum and stats to backupmeta

Open
#58,497 0 comments 0 reactions 0 assignees View on GitHub
type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Enhancement
right now backupmeta only contains a list of file pointers pointing to the files, each file contains its checksum info and stats. However if backupmeta is somehow corrupted and missed one file, there is no way to detect. We should add a total checksum/stats to the backupmeta as the signature for the entire backup.

Full backup might be easy to do cuz it's a one shot execution and br knows how many files are backed up. Need to think about log backup as it is continuous.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.