First, after table is dropped, it will stay in Catalog Recycle bin for a while,
configured be FE config "catalog_trash_expire_second", default is 86400.
After that, the table will be dropped from Catalog, and data will be moved to
BE's trash. And then, the BE's trash will be cleaned later,
config
Now we often just drop the partition and go directly to clean up the files
under trash
However, Doris continues to keep the catalog as you said, will there be no
problem?
Ling Miao
陈明雨 于2020年11月21日周六 下午11:12写道:
> First, after table is dropped, it will stay in Catalog Recycle bin for a
> while,
Yes, there will be a problem that once the user recover the partition by
executing `RECOVER` statement,
it will only recover the meta data, but the data is lost.
I think we can implement a command to view the meta data in Catalog Recycle
Bin, and can drop them manually
with some properties to t