nextdreamblue opened a new pull request, #13067:
URL: https://github.com/apache/doris/pull/13067

   # Proposed changes
   
   Issue Number: close #8421
   
   ## Problem summary
   
   1. 当drop库、表、partition的时候,会放到回收站中,并且允许同名信息,通过库、表、partition的id来区分;
   2. 增加show 
dropped命令,可以查看回收站中库、表、partition的信息,包括类型(db、table、partition)、名称、各级id(比如partition除了显示自身的id,还会显示所属库和表的id),删除时间等;
   3. 支持recover的时候指定id去恢复,并且支持恢复到一个新名字;如果不指定id,存在多个同名对象时,会恢复最近一次删除的对象;
   
   后续补充更详细的用户手册或文档、回归测试、测试用例等
   
   
   ## Checklist(Required)
   
   1. Does it affect the original behavior: 
       - [x] Yes
       - [ ] No
       - [ ] I don't know
   4. Has unit tests been added:
       - [ ] Yes
       - [x] No
       - [ ] No Need
   5. Has document been added or modified:
       - [ ] Yes
       - [x] No
       - [ ] No Need
   6. Does it need to update dependencies:
       - [ ] Yes
       - [x] No
   7. Are there any changes that cannot be rolled back:
       - [x] Yes (If Yes, please explain WHY)
       - [ ] No
   
   修改了与drop相关的journal信息保存的内容,导致不能回滚
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at 
[d...@doris.apache.org](mailto:d...@doris.apache.org) by explaining why you 
chose the solution you did and what alternatives you considered, etc...
   
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to