liaoxin01 commented on code in PR #57307:
URL: https://github.com/apache/doris/pull/57307#discussion_r2463177749
##########
fe/fe-core/src/main/java/org/apache/doris/job/extensions/insert/streaming/StreamingInsertJob.java:
##########
@@ -552,10 +571,20 @@ public long getId() {
@Override
public void beforeCommitted(TransactionState txnState) throws
TransactionException {
+ log.info("beforeCommitted called for streaming insert job {}, task {},
iscanceled {} ",
+ getJobId(), runningStreamTask.getTaskId(),
runningStreamTask.getIsCanceled().get());
+ if (runningStreamTask.getIsCanceled().get()) {
Review Comment:
Without lock here?
--
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]