Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-7665 Ability to clear a Partitioned Region
  3. GEODE-7674

Partitioned region clear should handle/update lucene index

    XMLWordPrintableJSON

Details

    Description

      Clear operation on partitioned region should appropriately handle lucene indexes defined on that partitioned region.

      Existing behavior (complexities in updating lucene indexes):
      The lucene indexes are managed through AsyncEventQueue (AEQ); the region operations on the clear (both for replicated and partitioned region) generated RegionEvents, currently the AEQ does not support handling RegionEvent. Supporting RegionEvent with AEQ is separate task which needs to be considered outside of the clear implementation.

      Till the RegionEvents are supported on AEQs, the PR clear will not be supported on regions with Lucene indexes.

      Expectation:
      Throw exception for PR clear operation when there is lucene index on the region.

      Acceptance :

      • Add test to verify exception is thrown when PR clear is performed on the region with local clear.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nnag Nabarun Nag
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: