linliu-code commented on code in PR #10102:
URL: https://github.com/apache/hudi/pull/10102#discussion_r1401341463


##########
hudi-common/src/main/java/org/apache/hudi/common/table/log/BaseHoodieLogRecordReader.java:
##########
@@ -260,7 +260,7 @@ private void scanInternalV1(Option<KeySpec> keySpecOpt) {
             && 
!HoodieTimeline.compareTimestamps(logBlock.getLogBlockHeader().get(INSTANT_TIME),
 HoodieTimeline.LESSER_THAN_OR_EQUALS, this.latestInstantTime
         )) {
           // hit a block with instant time greater than should be processed, 
stop processing further
-          break;
+          continue;
         }

Review Comment:
   @danny0405, after discussing with @yihua , the fix here is correct since the 
order of log blocks have been reversed and the "break" logic was for the old 
design where the blocks are in the order of time. CC:@yihua



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