caiconghui commented on code in PR #10809:
URL: https://github.com/apache/doris/pull/10809#discussion_r921260814


##########
fe/fe-core/src/main/java/org/apache/doris/alter/RollupJobV2.java:
##########
@@ -540,7 +540,11 @@ protected boolean cancelImpl(String errMsg) {
 
     private void cancelInternal() {
         // clear tasks if has
-        AgentTaskQueue.removeBatchTask(rollupBatchTask, TTaskType.ALTER);
+        if (rollupBatchTask != null) {

Review Comment:
   > Maybe it is because we write sc/rollup job as AlterJobV2, this base class 
not have `rollupBatchTask`/`schemaChangeBatchTask`
   
   hi @BiteTheDDDDt  is there a way to reproduce this bug。 AlterJobV2 is 
abstract class,and only subclass can write into journal. and the origin design 
has been implemented so long time, so I am still confused what cause this bug?



-- 
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

Reply via email to