[
https://issues.apache.org/jira/browse/IGNITE-8456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16470602#comment-16470602
]
ASF GitHub Bot commented on IGNITE-8456:
----------------------------------------
GitHub user SomeFire opened a pull request:
https://github.com/apache/ignite/pull/3976
IGNITE-8456: Print warning if IGNITE_HOME & WORK and persistentStoreD…
…ir is not set, but persistence enabled
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/SomeFire/ignite ignite-8456
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/3976.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3976
----
commit 3661276e60b7f5f05c186c7992e172512aa86669
Author: Dmitrii Ryabov <somefireone@...>
Date: 2018-05-10T15:51:12Z
IGNITE-8456: Print warning if IGNITE_HOME & WORK and persistentStoreDir is
not set, but persistence enabled
----
> 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)