You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "zhuanshenbsj1 (via GitHub)" <gi...@apache.org> on 2023/09/14 12:43:29 UTC
[GitHub] [hudi] zhuanshenbsj1 commented on a diff in pull request #9585: [HUDI-6809] Optimizing the judgment of generating clustering plans
zhuanshenbsj1 commented on code in PR #9585:
URL: https://github.com/apache/hudi/pull/9585#discussion_r1325892920
##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/action/cluster/ClusteringPlanActionExecutor.java:
##########
@@ -71,7 +71,7 @@ protected Option<HoodieClusteringPlan> createClusteringPlan() {
return Option.empty();
}
- if (config.isAsyncClusteringEnabled() && config.getAsyncClusterMaxCommits() > commitsSinceLastClustering) {
+ if (config.scheduleInlineClustering() && config.getAsyncClusterMaxCommits() > commitsSinceLastClustering) {
LOG.warn("Not scheduling async clustering as only " + commitsSinceLastClustering
+ " commits was found since last clustering " + lastClusteringInstant + ". Waiting for "
Review Comment:
done.
--
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