From 2b36290ab450f683f7225aee956bb898f91ccc06 Mon Sep 17 00:00:00 2001 From: meegoo Date: Mon, 9 Sep 2024 20:41:02 +0800 Subject: [PATCH] [BugFix] Fix rollback stream load npe when coord is null (#50849) Signed-off-by: meegoo --- .../main/java/com/starrocks/load/streamload/StreamLoadTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fe/fe-core/src/main/java/com/starrocks/load/streamload/StreamLoadTask.java b/fe/fe-core/src/main/java/com/starrocks/load/streamload/StreamLoadTask.java index 59e6acaebeb97..9bfcc5029c8e2 100644 --- a/fe/fe-core/src/main/java/com/starrocks/load/streamload/StreamLoadTask.java +++ b/fe/fe-core/src/main/java/com/starrocks/load/streamload/StreamLoadTask.java @@ -1132,7 +1132,7 @@ public void afterAborted(TransactionState txnState, boolean txnOperated, String return; } - if (isSyncStreamLoad() && coord.isProfileAlreadyReported()) { + if (isSyncStreamLoad() && coord != null && coord.isProfileAlreadyReported()) { collectProfile(true); }