bvaradar commented on a change in pull request #631: Performing commit 
archiving in batches to avoid keeping a huge chunk in memory
URL: https://github.com/apache/incubator-hudi/pull/631#discussion_r273584103
 
 

 ##########
 File path: 
hoodie-client/src/main/java/com/uber/hoodie/config/HoodieCompactionConfig.java
 ##########
 @@ -104,6 +105,7 @@
   private static final String DEFAULT_CLEANER_COMMITS_RETAINED = "24";
   private static final String DEFAULT_MAX_COMMITS_TO_KEEP = 
String.valueOf(128);
   private static final String DEFAULT_MIN_COMMITS_TO_KEEP = String.valueOf(96);
+  private static final String DEFAULT_COMMITS_ARCHIVAL_BATCH_SIZE = 
String.valueOf(10);
 
 Review comment:
   On closer look, the outputstream is not closed per iterations. Should be 
fine. 

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to