Skip to content

Commit 3e39931

Browse files
committed
[FLINK-37437][state/forst] Store misc files in local for rescaling
1 parent d3015df commit 3e39931

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

flink-state-backends/flink-statebackend-forst/src/main/java/org/apache/flink/state/forst/fs/filemapping/FileMappingManager.java

+1-4
Original file line numberDiff line numberDiff line change
@@ -338,10 +338,7 @@ public void giveUpOwnership(Path path, StreamStateHandle stateHandle) {
338338
}
339339

340340
private Path forceLocalPath(Path filePath) {
341-
if (isParentDir(filePath.toString(), remoteBase)) {
342-
return new Path(localBase, filePath.getName());
343-
}
344-
return filePath;
341+
return new Path(localBase, filePath.getName());
345342
}
346343

347344
private Path toUUIDPath(Path filePath) {

0 commit comments

Comments
 (0)