JingsongLi commented on code in PR #3805:
URL: https://github.com/apache/paimon/pull/3805#discussion_r1713342931


##########
paimon-common/src/main/java/org/apache/paimon/fs/FileIO.java:
##########
@@ -238,6 +238,9 @@ default boolean tryToWriteAtomic(Path path, String content) 
throws IOException {
         try {
             writeFile(tmp, content, false);
             success = rename(tmp, path);
+        } catch (IOException e) {
+            // try check once
+            success = exists(path) && !exists(tmp);

Review Comment:
   This can be a separate PR?



-- 
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: issues-unsubscr...@paimon.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to