[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:
committed by
GitHub
parent
b480294e79
commit
84ca981cd0
@@ -71,7 +71,7 @@ public final class HoodieMetadataConfig extends HoodieConfig {
|
|||||||
// Maximum delta commits before compaction occurs
|
// Maximum delta commits before compaction occurs
|
||||||
public static final ConfigProperty<Integer> COMPACT_NUM_DELTA_COMMITS = ConfigProperty
|
public static final ConfigProperty<Integer> COMPACT_NUM_DELTA_COMMITS = ConfigProperty
|
||||||
.key(METADATA_PREFIX + ".compact.max.delta.commits")
|
.key(METADATA_PREFIX + ".compact.max.delta.commits")
|
||||||
.defaultValue(24)
|
.defaultValue(10)
|
||||||
.sinceVersion("0.7.0")
|
.sinceVersion("0.7.0")
|
||||||
.withDocumentation("Controls how often the metadata table is compacted.");
|
.withDocumentation("Controls how often the metadata table is compacted.");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user