morningman commented on code in PR #40440: URL: https://github.com/apache/doris/pull/40440#discussion_r1759752625
########## fe/fe-core/src/main/java/org/apache/doris/qe/Coordinator.java: ########## @@ -2442,11 +2432,13 @@ public void updateFragmentExecStatus(TReportExecStatusParams params) { if (params.isSetErrorTabletInfos()) { updateErrorTabletInfos(params.getErrorTabletInfos()); } - if (params.isSetHivePartitionUpdates() && hivePartitionUpdateFunc != null) { - hivePartitionUpdateFunc.accept(params.getHivePartitionUpdates()); + if (params.isSetHivePartitionUpdates()) { + ((HMSTransaction) Env.getCurrentEnv().getGlobalExternalTransactionInfoMgr().getTxnById(txnId)) Review Comment: I think we need to check if transaction still exists. It may already be removed before BE reporting. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org