Jason Huynh created GEODE-2958:
----------------------------------
Summary: create replicate region with lucene index may restore
destroyed defined lucene index
Key: GEODE-2958
URL: https://issues.apache.org/jira/browse/GEODE-2958
Project: Geode
Issue Type: Bug
Components: lucene
Reporter: Jason Huynh
Executing the below commands in gfsh will result in the destroyed index being
created. It appears that the combination of destroying the lucene index while
specifying the region name and index name, along with attempting to create a
replicate region can cause the destroyed index to be restored and created when
a partition region with the same name finally is created.
create lucene index --name="GHOST_INDEX" --region="test" --field=name
list lucene indexes
destroy lucene index --region=test --name="GHOST_INDEX"
create lucene index --name="LUCENE_INDEX" --region="test" --field=name
create region --name=test --type=REPLICATE
create region --name=test --type=PARTITION
list lucene indexes
If the --name parameter of the index was not supplied on the destroy, then
things work fine.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)