[fix](olap) fix lost disable_auto_compaction info when fe restart (#18757)

Signed-off-by: nextdreamblue <zxw520blue1@163.com>
This commit is contained in:
xueweizhang
2023-04-18 14:11:40 +08:00
committed by GitHub
parent 0b074ade02
commit 62e4140d17

View File

@ -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);