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 59bdb6099cf branch-4.0: [fix](schemachange) fix IndexChangeJob stuck
on WAITING_TXN due to exception #60754 (#60767)
59bdb6099cf is described below
commit 59bdb6099cf6c7faf398aa721d51afa7d6d4365d
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sun Feb 15 08:03:22 2026 +0800
branch-4.0: [fix](schemachange) fix IndexChangeJob stuck on WAITING_TXN due
to exception #60754 (#60767)
Cherry-picked from #60754
Co-authored-by: Yulei-Yang <[email protected]>
---
fe/fe-core/src/main/java/org/apache/doris/alter/IndexChangeJob.java | 3 +++
1 file changed, 3 insertions(+)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/alter/IndexChangeJob.java
b/fe/fe-core/src/main/java/org/apache/doris/alter/IndexChangeJob.java
index a28da6bedd4..f25f82cda90 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/alter/IndexChangeJob.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/alter/IndexChangeJob.java
@@ -372,6 +372,9 @@ public class IndexChangeJob implements Writable {
if (!FeConstants.runningUnitTest) {
AgentTaskExecutor.submit(invertedIndexBatchTask);
}
+ } catch (Exception e) {
+ LOG.error("run job {} failed due to {}", jobId, e);
+ throw new AlterCancelException(e.getMessage());
} finally {
olapTable.readUnlock();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]