Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-13947

Index is used even if it was removed from proto schema

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 14.0.0.Dev03
    • Indexing
    • Hide
      1. Create a schema that contains an index
      2. Create entities
      3. Change schema to not contain index and call updateIndexSchema method
      4. Create entities
      5. Execute a query that should return entities from steps 2. and 4. however it contains entities only from step 2.

      Here is a test that is reproducing the issue
      https://github.com/fax4ever/infinispan-play/blob/ffad75668e7e7fb0837efbd2a5c608477a05f37c/index-evolution/src/test/java/fax/play/smoke/MinorsForNoDowntimeUpgradesTest.java#L137-L164

      Show
      Create a schema that contains an index Create entities Change schema to not contain index and call updateIndexSchema method Create entities Execute a query that should return entities from steps 2. and 4. however it contains entities only from step 2. Here is a test that is reproducing the issue https://github.com/fax4ever/infinispan-play/blob/ffad75668e7e7fb0837efbd2a5c608477a05f37c/index-evolution/src/test/java/fax/play/smoke/MinorsForNoDowntimeUpgradesTest.java#L137-L164

    Description

      When an index is removed and the updateIndexSchema method is called, it is expected that Infinispan will not use the index.

      Attachments

        Activity

          People

            fercoli@redhat.com Fabio Massimo Ercoli
            mhajas@redhat.com Michal Hajas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: