danny0405 commented on code in PR #9776:
URL: https://github.com/apache/hudi/pull/9776#discussion_r1349440642


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/BaseHoodieWriteClient.java:
##########
@@ -951,12 +951,6 @@ private void startCommit(String instantTime, String 
actionType, HoodieTableMetaC
             + "table could be in an inconsistent state. Pending restores: " + 
Arrays.toString(inflightRestoreTimeline.getInstantsAsStream()
             .map(instant -> 
instant.getTimestamp()).collect(Collectors.toList()).toArray()));
 
-    // if there are pending compactions, their instantTime must not be greater 
than that of this instant time
-    
metaClient.getActiveTimeline().filterPendingCompactionTimeline().lastInstant().ifPresent(latestPending
 ->

Review Comment:
   Nice analysis @codope !



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

Reply via email to