Support replay command to enhance checkpoint#1157
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1157 +/- ##
==========================================
- Coverage 52.32% 47.86% -4.46%
==========================================
Files 286 288 +2
Lines 20341 20396 +55
==========================================
- Hits 10643 9763 -880
- Misses 8026 8954 +928
- Partials 1672 1679 +7
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
313b156 to
7ed712a
Compare
|
[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. DetailsReviewer can indicate their review by writing |
…into enhanced-checkpoint
What problem does this PR solve?
In #1069, we support checkpoint, however, the user must guarantee the inpute command is exactly identical with the one before, which is not comfortable.
What is changed and how it works?
Introduce
tiup cluster replayandtiup dm replaycommands, which need only one argument: the audit id. And we will found the previous command and replay it via the audit id.Check List
Tests
Code changes
Side effects
Related changes
Release notes: