[ 
https://issues.apache.org/jira/browse/GEODE-5342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16704567#comment-16704567
 ] 

ASF subversion and git services commented on GEODE-5342:
--------------------------------------------------------

Commit 0a628c99aac960b6b420d62c26e675ba68aba752 in geode's branch 
refs/heads/develop from Juan José Ramos
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=0a628c9 ]

GEODE-5342: Fix disk-store validation in commands (#2881)

- Fixed minor warnings.
- Replaced the usage of `junit.Assert` by `assertj`.
- Offline gfsh comamnds related to disk-stores avoid creating the
  disk-store's folder if it doesn't exist already.

> gfsh commands related to offline disk store operations create the given disk 
> store directory if it doesn't exist
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-5342
>                 URL: https://issues.apache.org/jira/browse/GEODE-5342
>             Project: Geode
>          Issue Type: Bug
>          Components: gfsh
>            Reporter: Lynn Gallinat
>            Assignee: Juan José Ramos Cassella
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> {noformat}
> gfsh> validate offline-disk-store --name=diskStore2 
> --disk-dirs=/Users/lynn/doesNotExist
> Validating diskStore2
> Error in validating disk store diskStore2 is : The init file 
> "/Users/lynn/doesNotExist/BACKUPdiskStore2.if" does not exist.
> The directory "/Users/lynn/doesNotExist" is now created.
> {noformat}
> List of commands that create the disk-store when it doesn't exist:
> * alter disk-store 
> * validate offline-disk-store
> * upgrade offline-disk-store
> * compact offline-disk-store
> * describe offline-disk-store



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to