[ 
https://issues.apache.org/jira/browse/GEODE-2367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15843594#comment-15843594
 ] 

ASF subversion and git services commented on GEODE-2367:
--------------------------------------------------------

Commit 8062e9a7c9c3574f0168aaa88f61887717cb7b1a in geode's branch 
refs/heads/develop from [~huynhja]
[ https://git-wip-us.apache.org/repos/asf?p=geode.git;h=8062e9a ]

GEODE-2367: Lucene indexes do not handle ha scenarios

* Added afterSecondary callback to partition listener to allow cleaning up
  of the index repo when the bucket losses primary
* Added lock prior to creating the bucket indexes to prevent multiple index
  writers from being available at a time
* Changed single point of lucene index creation, no longer creating on the fly


> Lucene Index does not handle ha scenarios
> -----------------------------------------
>
>                 Key: GEODE-2367
>                 URL: https://issues.apache.org/jira/browse/GEODE-2367
>             Project: Geode
>          Issue Type: Bug
>          Components: lucene
>            Reporter: Jason Huynh
>            Assignee: Jason Huynh
>
> In ha scenarios or during rebalance, the lucene index listeners allow 
> multiple nodes to write to the file/chunk regions.  
> The Index repositories are also not being cleaned up when a bucket goes from 
> primary to secondary.
> This work will need to refactor the creation of the Lucene index to not 
> create one on the "fly" when a get/or query function is executed.  Otherwise 
> a function execution on a node that has just been turned secondary, may cause 
> it to create an index repo that it should not create.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to