ibessonov commented on code in PR #6209:
URL: https://github.com/apache/ignite-3/pull/6209#discussion_r2191703430


##########
modules/runner/src/main/java/org/apache/ignite/internal/configuration/storage/LocalFileConfigurationStorage.java:
##########
@@ -365,6 +371,13 @@ private void checkAndRestoreConfigFile() {
             } catch (IOException e) {
                 throw new NodeConfigWriteException("Failed to restore config 
file.", e);
             }
+        } else if (!Files.isWritable(configPath)) {

Review Comment:
   Sure. About my `toFile` usage in test - I couldn't figure out how to make 
the file read-only without old file API



-- 
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: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to