Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

refactor(backup): remove duplicated codes #761

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zhangyifan27
Copy link
Contributor

@zhangyifan27 zhangyifan27 commented Feb 20, 2021

In order to remove duplicated codes, this patch introduce a new funtion cancel_cold_backup(const std::string& policy_name), which cancels specific backup and clears related checkpoint directories, and we don't need to remove these directories in generate_backup_checkpoint().

@zhangyifan27 zhangyifan27 reopened this Feb 20, 2021
@zhangyifan27 zhangyifan27 changed the title refactor(backup): remove duplicate codes that related to cancel and clear backups refactor(backup): remove duplicated codes that related to cancel and clear backups Feb 20, 2021
@zhangyifan27 zhangyifan27 changed the title refactor(backup): remove duplicated codes that related to cancel and clear backups refactor(backup): remove duplicated codes Feb 20, 2021
@zhangyifan27 zhangyifan27 marked this pull request as draft March 18, 2021 09:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant