[minor](recycle) add log to observe bug (#11687)

This commit is contained in:
Mingyu Chen
2022-08-12 11:40:20 +08:00
committed by GitHub
parent 4047c3577d
commit 32e451e6ad

View File

@ -219,14 +219,13 @@ public class CatalogRecycleBin extends MasterDaemon implements Writable {
}
public synchronized void replayEraseTable(long tableId) {
LOG.info("before replay erase table[{}]", tableId);
RecycleTableInfo tableInfo = idToTable.remove(tableId);
idToRecycleTime.remove(tableId);
Table table = tableInfo.getTable();
if (table.getType() == TableType.OLAP && !Env.isCheckpointThread()) {
Env.getCurrentEnv().onEraseOlapTable((OlapTable) table, true);
}
LOG.info("replay erase table[{}]", tableId);
}