Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-2958

create replicate region with lucene index may restore destroyed defined lucene index

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.2.0
    • lucene
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jasonhuynh Jason Huynh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: