[ 
https://issues.apache.org/jira/browse/GEODE-7674?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Anilkumar Gingade updated GEODE-7674:
-------------------------------------
    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.

  was:
Expected behavior:
Clear operation on partitioned region 

Clear operations are successful when Lucene indexes are being updated.
Acceptance :
 * Passing Dunit tests where clear op are successful when
 * Luncene indexes are being updated.
 * Lucene re-indexing is occurring.


 * Test coverage to when a member departs in this scenario
 * Test coverage to when a member restarts in this scenario
 * Unit tests with complete code coverage for the newly written code.


> Partitioned region clear should handle/update lucene index
> ----------------------------------------------------------
>
>                 Key: GEODE-7674
>                 URL: https://issues.apache.org/jira/browse/GEODE-7674
>             Project: Geode
>          Issue Type: Sub-task
>          Components: lucene, regions
>            Reporter: Nabarun Nag
>            Priority: Major
>              Labels: GeodeCommons
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to