This is an automated email from the ASF dual-hosted git repository. dataroaring 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 6b7b63c7c0d [fix](fe) Avoid infinite dropping index in check compatibility mode (#37116) 6b7b63c7c0d is described below commit 6b7b63c7c0d2ebae25722e6f29f0dd26adaffb26 Author: walter <w41te...@gmail.com> AuthorDate: Tue Jul 2 21:27:39 2024 +0800 [fix](fe) Avoid infinite dropping index in check compatibility mode (#37116) --- .../src/main/java/org/apache/doris/alter/CloudSchemaChangeJobV2.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fe/fe-core/src/main/java/org/apache/doris/alter/CloudSchemaChangeJobV2.java b/fe/fe-core/src/main/java/org/apache/doris/alter/CloudSchemaChangeJobV2.java index 2fe3d748602..3968f2d274f 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/alter/CloudSchemaChangeJobV2.java +++ b/fe/fe-core/src/main/java/org/apache/doris/alter/CloudSchemaChangeJobV2.java @@ -118,6 +118,11 @@ public class CloudSchemaChangeJobV2 extends SchemaChangeJobV2 { @Override protected void postProcessOriginIndex() { + if (Config.enable_check_compatibility_mode) { + LOG.info("skip drop origin indexes in checking compatibility mode"); + return; + } + List<Long> originIdxList = indexIdMap.values().stream().collect(Collectors.toList()); dropIndex(originIdxList); } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org