Darrel Schneider created GEODE-3327:
---------------------------------------

             Summary: 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


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)

Reply via email to