This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch branch-1.2-lts
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-1.2-lts by this push:
new 9087f1e48ac [fix](fe) partitionInfo may throw NPE cause fe can not
start (#36875)
9087f1e48ac is described below
commit 9087f1e48acb2fe00a7493c505bfef8dc74bb23d
Author: htyoung <[email protected]>
AuthorDate: Thu Jun 27 15:27:09 2024 +0800
[fix](fe) partitionInfo may throw NPE cause fe can not start (#36875)
## Proposed changes
Issue Number: close #32690
Similar PR:https://github.com/apache/doris/pull/33108
Co-authored-by: tongyang.han <[email protected]>
---
fe/fe-core/src/main/java/org/apache/doris/catalog/CatalogRecycleBin.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/catalog/CatalogRecycleBin.java
b/fe/fe-core/src/main/java/org/apache/doris/catalog/CatalogRecycleBin.java
index 98033041621..1d3c551a588 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/catalog/CatalogRecycleBin.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/catalog/CatalogRecycleBin.java
@@ -523,6 +523,7 @@ public class CatalogRecycleBin extends MasterDaemon
implements Writable {
if (partitionInfo == null) {
LOG.error("replayErasePartition: partitionInfo is null for
partitionId[{}]", partitionId);
+ return;
}
Partition partition = partitionInfo.getPartition();
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]