You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)
By means of tools-v2 cli we can delete a file by command "curve bs delete file --path /test1 --force false", and eventually the file will be just renamed a file in dir /RecycleBin. By the way, the flag --force is not allowed to be true due to the limitation of curvebs mds. Also the curve cli has a subcommand clean-recycle to do clean job in /RecycleBin. The problem is that the curve cli seems not to support to restore the files in /RecycleBin, which can't explain the meaning of existing of recycle bin.
Describe the solution you'd like (描述你期望的解决方法)
Add a restore subcommand like this "curve bs restore --path /RecycleBin/test1-4".
Describe alternatives you've considered (描述你想到的折衷方案)
Additional context/screenshots (更多上下文/截图)
The text was updated successfully, but these errors were encountered:
zhengweizhu
changed the title
[toos-v2]: curve bs need a command for files in recycle bin to restore
[tools-v2]: curve bs need a command for files in recycle bin to restore
Nov 23, 2023
Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)
By means of tools-v2 cli we can delete a file by command "curve bs delete file --path /test1 --force false", and eventually the file will be just renamed a file in dir /RecycleBin. By the way, the flag --force is not allowed to be true due to the limitation of curvebs mds. Also the curve cli has a subcommand clean-recycle to do clean job in /RecycleBin. The problem is that the curve cli seems not to support to restore the files in /RecycleBin, which can't explain the meaning of existing of recycle bin.
Describe the solution you'd like (描述你期望的解决方法)
Add a restore subcommand like this "curve bs restore --path /RecycleBin/test1-4".
Describe alternatives you've considered (描述你想到的折衷方案)
Additional context/screenshots (更多上下文/截图)
The text was updated successfully, but these errors were encountered: