masteryhx commented on code in PR #26497:
URL: https://github.com/apache/flink/pull/26497#discussion_r2061241421


##########
flink-state-backends/flink-statebackend-forst/src/main/java/org/apache/flink/state/forst/fs/ForStFlinkFileSystem.java:
##########
@@ -305,7 +306,8 @@ public synchronized FileStatus getFileStatus(Path path) 
throws IOException {
         if (mappingEntry == null) {
             return new FileStatusWrapper(delegateFS.getFileStatus(path), path);
         }
-        if (FileOwnershipDecider.shouldAlwaysBeLocal(path)) {
+        if (FileOwnershipDecider.shouldAlwaysBeLocal(path)
+                && mappingEntry.getFileOwnership() != FileOwnership.NOT_OWNED) 
{

Review Comment:
   Hi @davidradl , Do you have other comments?



-- 
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...@flink.apache.org

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

Reply via email to