You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2022/04/01 10:58:20 UTC
[GitHub] [hudi] boneanxs commented on a change in pull request #5048: [HUDI-3634] Could read empty or partial HoodieCommitMetaData in downstream if using HDFS
boneanxs commented on a change in pull request #5048:
URL: https://github.com/apache/hudi/pull/5048#discussion_r840473237
##########
File path: hudi-common/src/main/java/org/apache/hudi/common/table/timeline/HoodieActiveTimeline.java
##########
@@ -676,6 +688,9 @@ private void createImmutableFileInPath(Path fullPath, Option<byte[]> content) {
if (null != fsout) {
fsout.close();
}
+ if (null != tmpPath) {
+ metaClient.getFs().rename(tmpPath, fullPath);
Review comment:
Can our `ConsistencyGuard` guarantee this?
--
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-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org