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 252c4ed [HUDI-2532] Metadata table compaction trigger max delta
commits (#3784)
252c4ed is described below
commit 252c4ed380ef3983b0c639d5fd4dee23bc113308
Author: Manoj Govindassamy <[email protected]>
AuthorDate: Tue Oct 12 06:49:42 2021 -0700
[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.
---
.../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.");