You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Anton Vinogradov (Jira)" <ji...@apache.org> on 2021/08/11 09:50:00 UTC

[jira] [Updated] (IGNITE-15287) Yardstick's -cwd params does not clean persistence and wal directories

     [ https://issues.apache.org/jira/browse/IGNITE-15287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anton Vinogradov updated IGNITE-15287:
--------------------------------------
    Description: 
The current code at IgniteNode.java is
{noformat}
if (args.cleanWorkDirectory() && !clientMode)
            FileUtils.cleanDirectory(U.workDirectory(c.getWorkDirectory(), c.getIgniteHome()));
{noformat}
and we should append {{dataStorageConfiguration#storagePath}} and {{dataStorageConfiguration#walPath}} clean-up as well.

  was:
The current code at IgniteNode.java is
{noformat}
if (args.cleanWorkDirectory() && !clientMode)
            FileUtils.cleanDirectory(U.workDirectory(c.getWorkDirectory(), c.getIgniteHome()));
{noformat}
and we should append {dataStorageConfiguration#storagePath} and {dataStorageConfiguration#walPath} clean-up as well.


> Yardstick's -cwd params does not clean persistence and wal directories
> ----------------------------------------------------------------------
>
>                 Key: IGNITE-15287
>                 URL: https://issues.apache.org/jira/browse/IGNITE-15287
>             Project: Ignite
>          Issue Type: Bug
>         Environment: -
>            Reporter: Anton Vinogradov
>            Priority: Major
>             Fix For: 2.10
>
>
> The current code at IgniteNode.java is
> {noformat}
> if (args.cleanWorkDirectory() && !clientMode)
>             FileUtils.cleanDirectory(U.workDirectory(c.getWorkDirectory(), c.getIgniteHome()));
> {noformat}
> and we should append {{dataStorageConfiguration#storagePath}} and {{dataStorageConfiguration#walPath}} clean-up as well.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)