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
commit 64621eb3a28057d9dc88af2efac483a6f4838933 Author: walter <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected]
