Jiayi-Liao commented on a change in pull request #17151:
URL: https://github.com/apache/flink/pull/17151#discussion_r702774349
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/state/filesystem/FsCheckpointStorageAccess.java
##########
@@ -110,9 +110,11 @@ public boolean supportsHighlyAvailableStorage() {
@Override
public void initializeBaseLocations() throws IOException {
- fileSystem.mkdirs(sharedStateDirectory);
- fileSystem.mkdirs(taskOwnedStateDirectory);
- baseLocationsInitialized = true;
+ if (!baseLocationsInitialized) {
Review comment:
This is unnecessary. I thought the savepoint will use the directory
before, then I realized there's a variable `defaultSavepointDirectory` for
savepoints.
--
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]