This is an automated email from the ASF dual-hosted git repository.
sivabalan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hudi.git
The following commit(s) were added to refs/heads/master by this push:
new 84ca981 [HUDI-2553] Metadata table compaction trigger max delta
commits (#3794)
84ca981 is described below
commit 84ca981cd017dc542b86adbd3b2141791feebf89
Author: Manoj Govindassamy <[email protected]>
AuthorDate: Thu Oct 21 10:09:37 2021 -0700
[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.
---
.../main/java/org/apache/hudi/common/config/HoodieMetadataConfig.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/hudi-common/src/main/java/org/apache/hudi/common/config/HoodieMetadataConfig.java
b/hudi-common/src/main/java/org/apache/hudi/common/config/HoodieMetadataConfig.java
index d085f2c..b74a17c 100644
---
a/hudi-common/src/main/java/org/apache/hudi/common/config/HoodieMetadataConfig.java
+++
b/hudi-common/src/main/java/org/apache/hudi/common/config/HoodieMetadataConfig.java
@@ -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.");