forked from pingcap/br
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
checkpoints: remove node_id field and rename the schema on keep-after…
…-success (pingcap#208) * lightning: reduce the chance of spurious error in web server * checkpoints: remove node_id We intend to separate checkpoints from multiple nodes into different schemas instead. Since one node now owns the entire schema, when removing all checkpoints we just drop the entire schema. We also changed the file driver to delete the file instead of just emptying the content. * lightning: set the task ID even outside server mode * checkpoints,restore: move the checkpoints database on keep-after-success The schema is renamed as `*.{taskID}.bak`. * checkpoints: addressed comments
- Loading branch information
Showing
8 changed files
with
179 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.