danny0405 commented on code in PR #14112:
URL: https://github.com/apache/hudi/pull/14112#discussion_r2441863119
##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/io/HoodieWriteHandle.java:
##########
@@ -314,6 +314,12 @@ protected HoodieLogFormat.Writer createLogWriter(String
instantTime, String file
Option<HoodieLogFile> latestLogFile = fileSliceOpt.isPresent()
? fileSliceOpt.get().getLatestLogFile()
: Option.empty();
+
+ // Compute the next log file version: use latest version + 1 if
available and append is not supported,
Review Comment:
don't know what this PR what to fix, the log version already set up in line
327, and why by default add the log version by 1? this would makes the file
append never work.
--
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]