Curve is a sandbox project hosted by the CNCF Foundation. It's cloud-native, high-performance, and easy to operate. Curve is an open-source distributed storage system for block and shared file storage.
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 (描述你想到的折衷方案)
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 (更多上下文/截图)