Skip to content

Commit

Permalink
[BugFix] Fix rollback stream load npe when coord is null (StarRocks#5…
Browse files Browse the repository at this point in the history
…0849)

Signed-off-by: meegoo <[email protected]>
  • Loading branch information
meegoo authored Sep 9, 2024
1 parent e3e6943 commit 2b36290
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 2b36290

Please sign in to comment.