garyli1019 opened a new pull request #2300: URL: https://github.com/apache/hudi/pull/2300
## What is the purpose of the pull request Bugfix. Examples in the Jira: https://issues.apache.org/jira/browse/HUDI-1434 #1567 move the logic to determine whether we need to roll over the log file version when actually writing the file, but we write the log path to HoodieWriteStat when initializing the HoodieAppendHandle. If the log file is not appendable, the log file will roll over to the next version, but the HoodieWriteStat will still have the previous version, and this will make the deltacommit metadata has the wrong path. ## Brief change log Modified how we store the file path in HoodieAppendHandle ## Verify this pull request *(Please pick either of the following options)* Tests will be covered by #1938 ## Committer checklist - [ ] Has a corresponding JIRA in PR title & commit - [ ] Commit message is descriptive of the change - [ ] CI is green - [ ] Necessary doc changes done or have another open PR - [ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
