[log](fe)add log partitionInfo is null, fe not start service (#19143)

This commit is contained in:
yongkang.zhong
2023-05-08 14:04:16 +08:00
committed by GitHub
parent e78149cb65
commit 7f0d6eb644

View File

@ -512,6 +512,10 @@ public class CatalogRecycleBin extends MasterDaemon implements Writable {
RecyclePartitionInfo partitionInfo = idToPartition.remove(partitionId);
idToRecycleTime.remove(partitionId);
if (partitionInfo == null) {
LOG.error("replayErasePartition: partitionInfo is null for partitionId[{}]", partitionId);
}
Partition partition = partitionInfo.getPartition();
if (!Env.isCheckpointThread()) {
Env.getCurrentEnv().onErasePartition(partition);