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

Mark Hanson updated GEODE-9520:
-------------------------------
    Description: 
The way the command currently works, when you it uses the group of the region 
to determine the target members to perform the operation on. When you create a 
region, it doesn't need the group or anything, it just works. Seems like create 
index should be able to find the region on a member without an issue.  

 

  was:
When you create a cluster from an XML with no group specified, then you try to 
create an index in a subregion that exists, the command will error out with 
"Region root/transRegion does not exist." The region exists, but in the 
background the command is using the group as a way to find the target members 
because there is no group, there are not target members and the command cannot 
complete. The  problem is that the error message is not good.

 

I suggest changing the error message to say something more useful like

"Could not find the region abc in a group. Please specify a target member or 
target members."

 

        Summary: create index gfsh command behavior seems inconsistent with 
other commands  (was: Error message is not useful when trying to create index 
after using a cache xml for startup)

> create index gfsh command behavior seems inconsistent with other commands
> -------------------------------------------------------------------------
>
>                 Key: GEODE-9520
>                 URL: https://issues.apache.org/jira/browse/GEODE-9520
>             Project: Geode
>          Issue Type: Bug
>          Components: gfsh
>    Affects Versions: 1.12.4, 1.13.4, 1.14.0, 1.15.0
>            Reporter: Mark Hanson
>            Priority: Major
>
> The way the command currently works, when you it uses the group of the region 
> to determine the target members to perform the operation on. When you create 
> a region, it doesn't need the group or anything, it just works. Seems like 
> create index should be able to find the region on a member without an issue.  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to