This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-4.0 by this push:
     new 3011f24d03e branch-4.0: [fix](job) set cluster when routine load job 
replay from image #59135 (#59163)
3011f24d03e is described below

commit 3011f24d03ecd636dc587277f5338ebea00a4423
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Dec 23 18:14:03 2025 +0800

    branch-4.0: [fix](job) set cluster when routine load job replay from image 
#59135 (#59163)
    
    Cherry-picked from #59135
    
    Co-authored-by: hui lai <[email protected]>
---
 .../java/org/apache/doris/load/routineload/RoutineLoadManager.java     | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/load/routineload/RoutineLoadManager.java
 
b/fe/fe-core/src/main/java/org/apache/doris/load/routineload/RoutineLoadManager.java
index bcb62cca8a0..3b1f498bcfc 100644
--- 
a/fe/fe-core/src/main/java/org/apache/doris/load/routineload/RoutineLoadManager.java
+++ 
b/fe/fe-core/src/main/java/org/apache/doris/load/routineload/RoutineLoadManager.java
@@ -953,6 +953,9 @@ public class RoutineLoadManager implements Writable {
             if (!routineLoadJob.getState().isFinalState()) {
                 
Env.getCurrentGlobalTransactionMgr().getCallbackFactory().addCallback(routineLoadJob);
             }
+            if (Config.isCloudMode()) {
+                routineLoadJob.setCloudCluster();
+            }
         }
     }
 


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

Reply via email to