davidradl commented on code in PR #27040:
URL: https://github.com/apache/flink/pull/27040#discussion_r2378133638
##########
flink-state-backends/flink-statebackend-forst/src/main/java/org/apache/flink/state/forst/ForStResourceContainer.java:
##########
@@ -436,7 +441,7 @@ public void clearDirectories() throws Exception {
}
public void forceClearRemoteDirectories() throws Exception {
- if (remoteBasePath != null) {
+ if (remoteBasePath != null && remotePathNewlyCreated) {
Review Comment:
I am unsure what this is doing. I would think for a method called force
clear we should clear the contents, whether remotePathNewlyCreated is true or
false. Could content be created in the directory when remotePathNewlyCreated =
false?
--
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]