leesf commented on code in PR #5950: URL: https://github.com/apache/hudi/pull/5950#discussion_r1044049689
########## hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/sink/meta/CkpMetadata.java: ########## @@ -97,8 +97,6 @@ public void close() { public void bootstrap(HoodieTableMetaClient metaClient) throws IOException { fs.delete(path, true); fs.mkdirs(path); - metaClient.getActiveTimeline().getCommitsTimeline().filterPendingExcludingCompaction() - .lastInstant().ifPresent(instant -> startInstant(instant.getTimestamp())); Review Comment: @danny0405 When flink checkpoint complete but hudi commit failed, we need recommit the commit, rollback the inflight commit will lose data, any new logic to guard this case? -- 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-unsubscr...@hudi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org