-
Notifications
You must be signed in to change notification settings - Fork 102
backup: optimize backupmeta to reduce memory useage. #1171
Conversation
Signed-off-by: Neil Shen <[email protected]>
Signed-off-by: Neil Shen <[email protected]>
/run-all-tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(the read part) rest lgtm
/run-integration-tests |
1 similar comment
/run-integration-tests |
/run-integration-tests |
1 similar comment
/run-integration-tests |
@@ -65,6 +67,7 @@ type BackupConfig struct { | |||
GCTTL int64 `json:"gc-ttl" toml:"gc-ttl"` | |||
RemoveSchedulers bool `json:"remove-schedulers" toml:"remove-schedulers"` | |||
IgnoreStats bool `json:"ignore-stats" toml:"ignore-stats"` | |||
UseBackupMetaV2 bool `json:"use-backupmeta-v2"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should better be a flag accepting an integer like --backupmeta-version=2
, in case we need a v3 in the future.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, that sounds better, but it's a hidden flag, let's change it in meta v3.
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: a3ab71d
|
In response to a cherrypick label: new pull request created: #1193. |
What problem does this PR solve?
solve #819
What is changed and how it works?
ddls
,schemas
,files
to new metafile.use-backupmeta-v2
for compatibility.Check List
Tests
Code changes
Side effects
Related changes
Release note