1
0

[HUDI-2553] Metadata table compaction trigger max delta commits (#3794)

-  Setting the max delta commits default value from 24 to 10 to trigger the compaction in metadata table.
This commit is contained in:
Manoj Govindassamy
2021-10-21 10:09:37 -07:00
committed by GitHub
parent b480294e79
commit 84ca981cd0

View File

@@ -71,7 +71,7 @@ public final class HoodieMetadataConfig extends HoodieConfig {
// Maximum delta commits before compaction occurs
public static final ConfigProperty<Integer> COMPACT_NUM_DELTA_COMMITS = ConfigProperty
.key(METADATA_PREFIX + ".compact.max.delta.commits")
.defaultValue(24)
.defaultValue(10)
.sinceVersion("0.7.0")
.withDocumentation("Controls how often the metadata table is compacted.");