danny0405 commented on a change in pull request #4186:
URL: https://github.com/apache/hudi/pull/4186#discussion_r760958610
##########
File path:
hudi-common/src/main/java/org/apache/hudi/common/config/HoodieMetadataConfig.java
##########
@@ -74,20 +74,20 @@
// Maximum delta commits before compaction occurs
public static final ConfigProperty<Integer> COMPACT_NUM_DELTA_COMMITS =
ConfigProperty
.key(METADATA_PREFIX + ".compact.max.delta.commits")
- .defaultValue(10)
+ .defaultValue(2)
.sinceVersion("0.7.0")
.withDocumentation("Controls how often the metadata table is
compacted.");
// Archival settings
public static final ConfigProperty<Integer> MIN_COMMITS_TO_KEEP =
ConfigProperty
.key(METADATA_PREFIX + ".keep.min.commits")
- .defaultValue(20)
+ .defaultValue(2)
.sinceVersion("0.7.0")
Review comment:
Why change the default config.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]