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

Diane Hardman reassigned GEODE-2949:
------------------------------------

    Assignee: Diane Hardman

> Creating a lucene index containing a slash and then the region using gfsh 
> causes an inconsistent state
> ------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-2949
>                 URL: https://issues.apache.org/jira/browse/GEODE-2949
>             Project: Geode
>          Issue Type: Bug
>          Components: lucene
>            Reporter: Barry Oglesby
>            Assignee: Diane Hardman
>
> Creating an index containing a slash with gfsh is successful:
> {noformat}
> gfsh>create lucene index --name='/slashed with spaces' --region=sam 
> --field=text
>                Member                | Status
> ------------------------------------ | ---------------------------------
> 192.168.2.4(server2:52699)<v13>:1026 | Successfully created lucene index
> 192.168.2.4(server1:52692)<v12>:1025 | Successfully created lucene index
> {noformat}
> And creating the region with gfsh fails:
> {noformat}
> gfsh>create region --name=sam --type=PARTITION
> Member  | Status
> ------- | ----------------------------------------------
> server2 | ERROR: name cannot contain the separator ' / '
> server1 | ERROR: name cannot contain the separator ' / '
> {noformat}
> But the logs show the async event queue and region have been created:
> {noformat}
> [info 2017/05/18 11:25:53.089 PDT server2 <Function Execution Processor1> 
> tid=0x41] Started  ParallelGatewaySender{id=AsyncEventQueue_/slashed with 
> spaces#_sam,remoteDsId=-1,isRunning =true}
> [info 2017/05/18 11:25:53.094 PDT server2 <Function Execution Processor1> 
> tid=0x41] Partitioned Region /sam is born with prId=11 ident:#sam
> {noformat}
> And destroying the index says no indexes were found:
> {noformat}
>  gfsh>destroy lucene index --region=/data
>                Member                | Status
> ------------------------------------ | 
> --------------------------------------------
> 192.168.2.4(server1:52692)<v12>:1025 | No Lucene indexes were found in region 
> /data
> 192.168.2.4(server2:52699)<v13>:1026 | No Lucene indexes were found in region 
> /data
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to