satishkotha commented on a change in pull request #4772:
URL: https://github.com/apache/hudi/pull/4772#discussion_r802298314
##########
File path:
hudi-common/src/main/java/org/apache/hudi/common/util/ClusteringUtils.java
##########
@@ -215,6 +215,12 @@ public static HoodieClusteringPlan
createClusteringPlan(String strategyClassName
}
public static List<HoodieInstant>
getPendingClusteringInstantTimes(HoodieTableMetaClient metaClient) {
- return
metaClient.getActiveTimeline().filterPendingReplaceTimeline().getInstants().collect(Collectors.toList());
+ return
metaClient.getActiveTimeline().filterPendingReplaceTimeline().getInstants()
+ .filter(instant -> isPendingClusteringInstant(metaClient, instant))
Review comment:
this is unrelated to current change. But important bug fix. We were
considering all replace commits as 'Clustering' commits before.
--
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]