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/21 03:37:13 UTC

[GitHub] [hudi] vinothchandar commented on a change in pull request #4078: [HUDI-2833] Clean up unused archive files instead of expanding indefinitely.

vinothchandar commented on a change in pull request #4078:
URL: https://github.com/apache/hudi/pull/4078#discussion_r772805702



##########
File path: hudi-client/hudi-client-common/src/main/java/org/apache/hudi/config/HoodieCompactionConfig.java
##########
@@ -249,6 +249,21 @@
           + "record size estimate compute dynamically based on commit metadata. "
           + " This is critical in computing the insert parallelism and bin-packing inserts into small files.");
 
+  public static final ConfigProperty<String> ARCHIVE_MAX_FILES = ConfigProperty
+      .key("hoodie.archive.max.files")
+      .noDefaultValue()
+      .withDocumentation("The numbers of kept archive files under archived.");
+
+  public static final ConfigProperty<String> ARCHIVE_AUTO_TRIM_ENABLE = ConfigProperty

Review comment:
       Instead of deleting, can we coalesce them into bigger files and then delete the individual ones? Eventually, I am planning to make timeline just a single linear stream of instants, that is indexed. I am happy pen down the design as needed as well. But even in the interim, it might be good to not delete anything :) 




-- 
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