Skip to content
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

fix(restore): make 'old_policy_name' an optional parameter #707

Merged
merged 2 commits into from
Mar 30, 2021

Conversation

zhangyifan27
Copy link
Contributor

What problem does this PR solve?

rdsn#716 remove 'policy_name' from backup files' path, we don't need to specify policy_name when restore a table which is backed up after this change.

What is changed and how it works?

Make old_policy_name an optional parameter in shell, when we want to restore an old table, we still need to add -p <old_policy_name>, otherwise old_policy_name could be an empty string.

Check List

Tests

  • Funtion test
    I ran test_restore test on my local cluster successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants