davidradl commented on code in PR #27042:
URL: https://github.com/apache/flink/pull/27042#discussion_r2401625368


##########
flink-state-backends/flink-statebackend-forst/src/main/java/org/apache/flink/state/forst/ForStResourceContainer.java:
##########
@@ -432,17 +395,17 @@ private static boolean prepareDirectories(Path basePath, 
Path dbPath) throws IOE
      * @throws Exception if any unexpected behaviors.
      */
     public void clearDirectories() throws Exception {
-        if (remoteBasePath != null) {
-            forStFileSystem.delete(remoteBasePath, true);
+        if (pathContainer.getRemoteBasePath() != null) {

Review Comment:
   nit: use a variable for pathContainer.getRemoteBasePath() and 
pathContainer.getLocalBasePath()



-- 
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]

Reply via email to