incubator-doris there is bug for api to restore be tablet when there is pending_dir

c9qzyr3d  于 3个月前  发布在  Java

restore tablet api is for restore tablet from trash dir when mistakes.
But now there is a bug when the tablet has pending dir. The api will failed in this case.



And more this api can only process one tablet at one time. In many cases, there will be many tablet to recover, so it is not convenient for use to use this api. So I plan to add a script to support batch tablet restore, so the user can restore multiple tablet in a time easily.