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

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


The following commit(s) were added to refs/heads/branch-3.0 by this push:
     new 8b62d349fca branch-3.0: [fix](job) remove can not transform RUNNING to 
NEED_SCHEDULE limit #52887 (#52908)
8b62d349fca is described below

commit 8b62d349fca5116899669ab2fe780787872a152f
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Jul 9 10:23:20 2025 +0800

    branch-3.0: [fix](job) remove can not transform RUNNING to NEED_SCHEDULE 
limit #52887 (#52908)
    
    Cherry-picked from #52887
    
    Co-authored-by: hui lai <[email protected]>
---
 .../main/java/org/apache/doris/load/routineload/RoutineLoadJob.java  | 5 -----
 1 file changed, 5 deletions(-)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/load/routineload/RoutineLoadJob.java
 
b/fe/fe-core/src/main/java/org/apache/doris/load/routineload/RoutineLoadJob.java
index 5cb1b6147a9..d7e3c6fc494 100644
--- 
a/fe/fe-core/src/main/java/org/apache/doris/load/routineload/RoutineLoadJob.java
+++ 
b/fe/fe-core/src/main/java/org/apache/doris/load/routineload/RoutineLoadJob.java
@@ -873,11 +873,6 @@ public abstract class RoutineLoadJob
     // All of private method could not be call without lock
     private void checkStateTransform(RoutineLoadJob.JobState desireState) 
throws UserException {
         switch (state) {
-            case RUNNING:
-                if (desireState == JobState.NEED_SCHEDULE) {
-                    throw new DdlException("Could not transform " + state + " 
to " + desireState);
-                }
-                break;
             case PAUSED:
                 if (desireState == JobState.PAUSED) {
                     throw new DdlException("Could not transform " + state + " 
to " + desireState);


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

Reply via email to