1
0

[HUDI-2532] Metadata table compaction trigger max delta commits (#3784)

-  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-12 06:49:42 -07:00
committed by GitHub
parent 48a3906ccc
commit 252c4ed380

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.");