You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geode.apache.org by "Barry Oglesby (JIRA)" <ji...@apache.org> on 2017/05/19 16:41:04 UTC

[jira] [Created] (GEODE-2949) Using gfsh to create an index containing a slash and then the region causes an inconsistent state

Barry Oglesby created GEODE-2949:
------------------------------------

             Summary: Using gfsh to create an index containing a slash and then the region 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


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)