You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pegasus.apache.org by GitBox <gi...@apache.org> on 2021/03/29 10:07:20 UTC

[GitHub] [incubator-pegasus] zhangyifan27 opened a new pull request #707: fix(restore): make 'old_policy_name' an optional parameter

zhangyifan27 opened a new pull request #707:
URL: https://github.com/apache/incubator-pegasus/pull/707


   ### What problem does this PR solve? <!--add issue link with summary if exists-->
   [rdsn#716](https://github.com/XiaoMi/rdsn/pull/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 <!--REMOVE the items that are not applicable-->
   
   Tests <!-- At least one of them must be included. -->
   
   - Funtion test
    I ran `test_restore` test on my local cluster successfully.
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For additional commands, e-mail: dev-help@pegasus.apache.org


[GitHub] [incubator-pegasus] levy5307 merged pull request #707: fix(restore): make 'old_policy_name' an optional parameter

Posted by GitBox <gi...@apache.org>.
levy5307 merged pull request #707:
URL: https://github.com/apache/incubator-pegasus/pull/707


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For additional commands, e-mail: dev-help@pegasus.apache.org