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

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


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

commit a6063a894031fb0622b789791b0d00eb39bb03c4
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Dec 19 10:45:59 2025 +0800

    branch-3.1: [fix](job) set cluster when routine load job replay from image 
#59135 (#59162)
    
    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 a36fadf0bcd..f33b9826fcc 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
@@ -931,6 +931,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