sollhui commented on code in PR #66105:
URL: https://github.com/apache/doris/pull/66105#discussion_r3689259810


##########
fe/fe-core/src/main/java/org/apache/doris/load/routineload/RoutineLoadJob.java:
##########
@@ -1353,6 +1353,16 @@ public void afterAborted(TransactionState txnState, 
boolean txnOperated, String
                     }
                     // TODO(ml): use previous be id depend on change reason
                 }
+                if (txnStatusChangeReason != 
TransactionState.TxnStatusChangeReason.NO_PARTITIONS) {

Review Comment:
   Refined in dcd6d23ae17: instead of a separate diagnostic helper, the generic 
abort path now pauses first and then continues through 
executeTaskOnTxnStatusChanged(). Because the job is already PAUSED, that 
existing path preserves errorLogUrl/firstErrorMsg and sets the task txn status 
without renewing a task; Kafka/Kinesis also do not advance progress for ABORTED 
transactions.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to