You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Darrel Schneider (JIRA)" <ji...@apache.org> on 2017/07/28 00:06:00 UTC

[jira] [Updated] (GEODE-3327) gfsh alter disk-store tries to create non-existent disk directories

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

Darrel Schneider updated GEODE-3327:
------------------------------------
    Priority: Minor  (was: Major)

> gfsh alter disk-store tries to create non-existent disk directories
> -------------------------------------------------------------------
>
>                 Key: GEODE-3327
>                 URL: https://issues.apache.org/jira/browse/GEODE-3327
>             Project: Geode
>          Issue Type: Bug
>          Components: persistence
>            Reporter: Darrel Schneider
>            Priority: Minor
>
> When you run alter disk-store if have to give it all the disk-dirs that contain your disk store files. If one of these directories does not exist then the command should give an error. But instead it attempts to create the directory. If it can't create the directory then it will fail saying:
> "Unable to create directory"
> But it should not have even been trying. We probably have other commands (like validate disk-store) that are all intended to work with already existing disk-stores. These commands should not attempt to create the disk-dir if it does not exist. Instead they should give an error saying the specified disk-dir does not exist.
> The code that currently is doing this mkdir call is in this method:
> org.apache.geode.internal.cache.DiskStoreFactoryImpl.checkIfDirectoriesExist(File[])



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)