usberkeley commented on code in PR #11665:
URL: https://github.com/apache/hudi/pull/11665#discussion_r1687348238
##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/HoodieTable.java:
##########
@@ -367,8 +367,8 @@ public HoodieTimeline getCompletedCommitTimeline() {
/**
* Get only the inflights (no-completed) commit timeline.
*/
- public HoodieTimeline getPendingCommitTimeline() {
- return
metaClient.getCommitsTimeline().filterPendingExcludingMajorAndMinorCompaction();
+ public HoodieTimeline getPendingCommitsTimeline() {
+ return metaClient.getCommitsTimeline().filterInflightsAndRequested();
Review Comment:
The behavior will not change, because the Timeline Action returned by
calling HoodieTableMetaClient#getCommitsTimeline does not include Compaction
and LogCompaction.
so I change HoodieTimeline#filterPendingExcludingMajorAndMinorCompaction ->
filterInflightsAndRequested
--
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]