This is an automated email from the ASF dual-hosted git repository.
wangbo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 2c680c3364f [Fix]Fix drop index and build index running same time
(#56470)
2c680c3364f is described below
commit 2c680c3364fad64d52b3d3f0b34b65fd5aac5be0
Author: wangbo <[email protected]>
AuthorDate: Fri Sep 26 18:33:48 2025 +0800
[Fix]Fix drop index and build index running same time (#56470)
---
.../src/main/java/org/apache/doris/alter/SchemaChangeHandler.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/alter/SchemaChangeHandler.java
b/fe/fe-core/src/main/java/org/apache/doris/alter/SchemaChangeHandler.java
index 268e0262613..092262c1a76 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/alter/SchemaChangeHandler.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/alter/SchemaChangeHandler.java
@@ -3333,7 +3333,8 @@ public class SchemaChangeHandler extends AlterHandler {
&& indexChangeJob.getDbId() == dbId
&& indexChangeJob.getTableId() == tableId
&& indexChangeJob.getPartitionName().equals(partitionName)
- && indexChangeJob.hasSameAlterInvertedIndex(isDrop,
alterIndexes)
+ && ((Config.isNotCloudMode() &&
indexChangeJob.hasSameAlterInvertedIndex(isDrop, alterIndexes))
+ || Config.isCloudMode())
&& !indexChangeJob.isDone()) {
// if JobState is done (CANCELLED or FINISHED), also allow
user to create job again
return true;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]