[ https://issues.apache.org/jira/browse/GEODE-1615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15357762#comment-15357762 ]
Kevin Duling edited comment on GEODE-1615 at 6/30/16 8:02 PM: -------------------------------------------------------------- Found that internally, the region is stored as {{service=Region, name="/region-name", type=Member}} and the query to find it is not placing quotes around the name. Conversely, non-hyphenated regions do not contain quotes. E.g., {{service=Region, name=/good, type=Member}} The mechanism that added quotes during creation is not being triggered when destroying, therefore the lookup fails. was (Author: kduling): Found that internally, the region is stored as {{service=Region, name="/region-name", type=Member}} and the query to find it is not placing quotes around the name. Conversely, non-hyphenated regions do not contain quotes. E.g., {{service=Region, name=good, type=Member}} The mechanism that added quotes during creation is not being triggered when destroying, therefore the lookup fails. > gfsh unable to destroy region that has an hyphen in its name > ------------------------------------------------------------ > > Key: GEODE-1615 > URL: https://issues.apache.org/jira/browse/GEODE-1615 > Project: Geode > Issue Type: Bug > Components: gfsh > Reporter: Swapnil Bawaskar > Assignee: Kevin Duling > > Can be reproduced as follows: > {noformat} > gfsh>list regions > List of regions > --------------- > region-name > region_name > gfsh>destroy region --name=region_name > "region_name" destroyed successfully. > gfsh>list regions > List of regions > --------------- > region-name > gfsh>destroy region --name=region-name > Could not find a Region with Region path "region-name" in this Geode cluster. > If region was recently > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)