You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by he...@apache.org on 2025/11/12 07:45:48 UTC
(doris) branch master updated: [Fix](job) add callback for streaming job when load image (#57852)
This is an automated email from the ASF dual-hosted git repository.
hellostephen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 7620b9ab7e0 [Fix](job) add callback for streaming job when load image (#57852)
7620b9ab7e0 is described below
commit 7620b9ab7e0cf5022e16fc23a697031384c67044
Author: wudi <wu...@selectdb.com>
AuthorDate: Wed Nov 12 15:45:40 2025 +0800
[Fix](job) add callback for streaming job when load image (#57852)
---
fe/fe-core/src/main/java/org/apache/doris/job/manager/JobManager.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/fe/fe-core/src/main/java/org/apache/doris/job/manager/JobManager.java b/fe/fe-core/src/main/java/org/apache/doris/job/manager/JobManager.java
index c62e94f8d64..f3d1f671c06 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/job/manager/JobManager.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/job/manager/JobManager.java
@@ -480,6 +480,9 @@ public class JobManager<T extends AbstractJob<?, C>, C> implements Writable {
job.setJobId(((MTMVJob) job).getMtmvId());
}
jobMap.putIfAbsent(job.getJobId(), (T) job);
+ if (job instanceof StreamingInsertJob && job.isJobRunning()) {
+ Env.getCurrentGlobalTransactionMgr().getCallbackFactory().addCallback((StreamingInsertJob) job);
+ }
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org