-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement CHECKPOINT for cluster snapshot #1199
Conversation
Can one of the admins verify this patch? |
Improved checkpoint directory structure as below : |
Later, I will record the metadata of checkpoint to the metadata server. |
1, Recode snapshot info to meta server. |
Add cluster status check thread, Used for async rollback after checkpoint creat failed. |
Unit testing passed. |
Unit testing passed. |
Ready to review. come on please . |
Unit testing passed. |
Unit testing passed. |
1 similar comment
Unit testing passed. |
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.
After skim the pr. Totally, the code structure looks good to me.
I will check this pr in detail later. Please see my inline comments firstly.
Addressed @dangleptr's comment: |
Unit testing passed. |
1 similar comment
Unit testing passed. |
…uster status before checkpoint.
…d asyncBlockingLeader
…ksEngine to NebulaStorage; 2, Using %019ld.wal instead of rfind
Addressed @Amber1990Zhang and @darionyaphet's comment. |
Unit testing passed. |
Unit testing passed. |
Support to create checkpoint for the whole cluster. We could use command in console to create/drop/list checkpoints. To restore from some checkpoint, users should stop the whole cluster and override data dir with related snapshot dir. Of course, we will give a tool for that later.
Support to create checkpoint for the whole cluster. We could use command in console to create/drop/list checkpoints. To restore from some checkpoint, users should stop the whole cluster and override data dir with related snapshot dir. Of course, we will give a tool for that later.
No description provided.