SaintBacchus commented on code in PR #17233: URL: https://github.com/apache/doris/pull/17233#discussion_r1127306820
########## fe/fe-core/src/main/java/org/apache/doris/qe/StmtExecutor.java: ########## @@ -1008,6 +1009,9 @@ public void cancel() { if (coordRef != null) { coordRef.cancel(); } + if (mysqlLoadId != null) { Review Comment: The next Stmt in the same session will create a new `ExecuteStmt` object in class `ConnectProcessor`. So this load id will gc after load finished and it's the reson why coordRef is not assgin null after call the cancel. -- 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