[ 
https://issues.apache.org/jira/browse/IGNITE-8456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16472320#comment-16472320
 ] 

Ivan Rakov commented on IGNITE-8456:
------------------------------------

[~SomeFire], I've looked through your changes.
I think, current message is not informative enough. My suggestions:
1. Use actual value of java.io.tmpdir property in warning message instead of 
its name.
2. Except for setting IGNITE_HOME, it's possible to change location of 
persistence folders with data storage configuration (see 
DataStorageConfiguration#walPath, DataStorageConfiguration#walArchivePath, 
DataStorageConfiguration#storagePath properties). This option should be 
mentioned in warning message as well.

> Print warning if IGNITE_HOME & WORK and persistentStoreDir is not set, but 
> persistence enabled
> ----------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-8456
>                 URL: https://issues.apache.org/jira/browse/IGNITE-8456
>             Project: Ignite
>          Issue Type: Improvement
>          Components: persistence
>            Reporter: Dmitriy Pavlov
>            Assignee: Ryabov Dmitrii
>            Priority: Critical
>              Labels: easyfix, newbie
>             Fix For: 2.6
>
>
> In method org.apache.ignite.internal.util.IgniteUtils#workDirectory
> Ignite determine Work dir to be set, same value may be used in case 
> persistence Store Folder is not set and IGNITE_HOME is not specified.
> In case work dir is not specified, temp directory is used for Ignite Work. 
> But for persistence enabled case this means user DB goes to temp folder and 
> may be removed later.
> User may be confused by this behaviour. See:
> [https://stackoverflow.com/questions/48434929/apache-ignite-persistent-storage]
> and related Dev.List discussion
> [http://apache-ignite-developers.2346864.n4.nabble.com/IGNITE-HOME-for-persistence-td26470.html]
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to