This is an automated email from the ASF dual-hosted git repository.

luozenglin 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 2d34745e4a [fix](profile) fix invalid instance profile in doris 1.2 
(#23268)
2d34745e4a is described below

commit 2d34745e4aad2f215ec8d539e375c22648f48749
Author: luozenglin <luozeng...@baidu.com>
AuthorDate: Tue Aug 22 10:35:30 2023 +0800

    [fix](profile) fix invalid instance profile in doris 1.2 (#23268)
---
 fe/fe-core/src/main/java/org/apache/doris/qe/Coordinator.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fe/fe-core/src/main/java/org/apache/doris/qe/Coordinator.java 
b/fe/fe-core/src/main/java/org/apache/doris/qe/Coordinator.java
index 8878eab5e3..c0e4f5df86 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/qe/Coordinator.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/qe/Coordinator.java
@@ -968,7 +968,7 @@ public class Coordinator {
             receiver.cancel();
         }
         cancelRemoteFragmentsAsync(cancelReason);
-        if (profileDoneSignal != null) {
+        if (profileDoneSignal != null && !needReport) {
             // count down to zero to notify all objects waiting for this
             profileDoneSignal.countDownToZero(new Status());
             LOG.info("unfinished instance: {}", 
profileDoneSignal.getLeftMarks()


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to