fredia commented on code in PR #25310:
URL: https://github.com/apache/flink/pull/25310#discussion_r1758133695
##########
flink-state-backends/flink-statebackend-forst/src/main/java/org/apache/flink/state/forst/fs/ForStFlinkFileSystem.java:
##########
@@ -160,4 +304,16 @@ public boolean isDistributedFS() {
public FileSystemKind getKind() {
return delegateFS.getKind();
}
+
+ private Tuple2<Boolean, Path> tryBuildLocalPath(Path path) {
+ String remotePathStr = path.toString();
+ if (localFileFilter.apply(path.getName()) &&
remotePathStr.startsWith(remoteBase)) {
Review Comment:
Directories won't end with `.sst`, `localFileFilter.apply(path.getName())`
is always true for directories.
--
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]