alexeykudinkin commented on a change in pull request #4385:
URL: https://github.com/apache/hudi/pull/4385#discussion_r832644628
##########
File path:
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/config/HoodieCompactionConfig.java
##########
@@ -129,6 +130,17 @@
.withDocumentation("Controls how compaction scheduling is triggered, by
time or num delta commits or combination of both. "
+ "Valid options: " +
Arrays.stream(CompactionTriggerStrategy.values()).map(Enum::name).collect(Collectors.joining(",")));
+ public static final ConfigProperty<String> CLEAN_TRIGGER_STRATEGY =
ConfigProperty
+ .key("hoodie.clean.trigger.strategy")
+ .defaultValue(CleaningTriggerStrategy.NUM_COMMITS.name())
+ .withDocumentation("Controls how cleaning is scheduled. Valid
options: "
+ +
Arrays.stream(CleaningTriggerStrategy.values()).map(Enum::name).collect(Collectors.joining(",")));
+
+ public static final ConfigProperty<String> CLEAN_MAX_COMMITS = ConfigProperty
+ .key("hoodie.clean.max.commits")
+ .defaultValue("1")
Review comment:
Does this mean that we now by default schedule clean after every commit?
--
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]