geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Darrel Schneider (JIRA)" <>
Subject [jira] [Updated] (GEODE-3327) gfsh alter disk-store tries to create non-existent disk directories
Date Fri, 28 Jul 2017 00:06:00 GMT


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

> gfsh alter disk-store tries to create non-existent disk directories
> -------------------------------------------------------------------
>                 Key: GEODE-3327
>                 URL:
>             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

View raw message