You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "HappenLee (via GitHub)" <gi...@apache.org> on 2023/06/27 03:21:44 UTC

[GitHub] [doris] HappenLee commented on a diff in pull request #21193: [Bug](pipeline) do not call cancelPlanFragmentAsync when instance finished

HappenLee commented on code in PR #21193:
URL: https://github.com/apache/doris/pull/21193#discussion_r1243094546


##########
fe/fe-core/src/main/java/org/apache/doris/qe/Coordinator.java:
##########
@@ -2811,7 +2815,10 @@ public synchronized boolean cancelFragmentInstance(Types.PPlanFragmentCancelReas
                     return false;
                 }
             }
-            this.hasCanceled = true;
+            if (!this.hasCanceled) {

Review Comment:
   line 2796 set `this.hasCanceled = true;` way check again ?



-- 
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-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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