Search before asking
Version
0.15.1-rc9
What's Wrong?
in org.apache.doris.catalog.CatalogRecycleBin
function: replayEraseTable(long tableId)
public synchronized void replayEraseTable(long tableId) {
RecycleTableInfo tableInfo = idToTable.remove(tableId);
idToRecycleTime.remove(tableId);
Table table = tableInfo.getTable();
...
it is called when PaloFe start. When tableId is not in idToTable, tableInfo will be null, tableInfo.getTable(); throw an NullPointException, PaloFe will start failed.
What You Expected?
just ignore it, don't let PaloFe start failed.
How to Reproduce?
Maybe table is dropped, but OP_ERASE_TABLE still exist.
Anything Else?
No response
Are you willing to submit PR?
Code of Conduct