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

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


The following commit(s) were added to refs/heads/branch-2.0 by this push:
     new 352fa85b63b (fix)[schema change] fix incorrect setting of schema 
change jobstate when replay editlog (#26992) (#27139)
352fa85b63b is described below

commit 352fa85b63b1ae30164e75f13f0936292bfb391f
Author: Luwei <[email protected]>
AuthorDate: Fri Nov 17 20:39:08 2023 +0800

    (fix)[schema change] fix incorrect setting of schema change jobstate when 
replay editlog (#26992) (#27139)
---
 fe/fe-core/src/main/java/org/apache/doris/alter/SchemaChangeJobV2.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/alter/SchemaChangeJobV2.java 
b/fe/fe-core/src/main/java/org/apache/doris/alter/SchemaChangeJobV2.java
index 574a1bf129f..9978870408b 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/alter/SchemaChangeJobV2.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/alter/SchemaChangeJobV2.java
@@ -785,7 +785,7 @@ public class SchemaChangeJobV2 extends AlterJobV2 {
         }
 
         this.watershedTxnId = replayedJob.watershedTxnId;
-        jobState = JobState.WAITING_TXN;
+        jobState = JobState.PENDING;
         LOG.info("replay pending schema change job: {}, table id: {}", jobId, 
tableId);
     }
 


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

Reply via email to