From 62e4140d171f4a59118fc5398ec1b3282a263a0b Mon Sep 17 00:00:00 2001 From: xueweizhang Date: Tue, 18 Apr 2023 14:11:40 +0800 Subject: [PATCH] [fix](olap) fix lost disable_auto_compaction info when fe restart (#18757) Signed-off-by: nextdreamblue --- .../src/main/java/org/apache/doris/catalog/TableProperty.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fe/fe-core/src/main/java/org/apache/doris/catalog/TableProperty.java b/fe/fe-core/src/main/java/org/apache/doris/catalog/TableProperty.java index f8b1c15082..add5162d75 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/catalog/TableProperty.java +++ b/fe/fe-core/src/main/java/org/apache/doris/catalog/TableProperty.java @@ -347,7 +347,8 @@ public class TableProperty implements Writable { .buildCompressionType() .buildStoragePolicy() .buildEnableLightSchemaChange() - .buildStoreRowColumn(); + .buildStoreRowColumn() + .buildDisableAutoCompaction(); if (Env.getCurrentEnvJournalVersion() < FeMetaVersion.VERSION_105) { // get replica num from property map and create replica allocation String repNum = tableProperty.properties.remove(PropertyAnalyzer.PROPERTIES_REPLICATION_NUM);