You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2021/12/02 11:47:45 UTC

[GitHub] [hudi] nsivabalan commented on a change in pull request #4186: [HUDI-2904] WIP Fix metadata archive issues

nsivabalan commented on a change in pull request #4186:
URL: https://github.com/apache/hudi/pull/4186#discussion_r761016846



##########
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:
       nope. guess was done for testing, guess author forgot to fix it. 




-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org