[
https://issues.apache.org/jira/browse/GEODE-2367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15840499#comment-15840499
]
ASF subversion and git services commented on GEODE-2367:
--------------------------------------------------------
Commit 0669f4f9785379dfcab91d856cab8bc87efb7809 in geode's branch
refs/heads/feature/GEODE-2367 from [~huynhja]
[ https://git-wip-us.apache.org/repos/asf?p=geode.git;h=0669f4f ]
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)