geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Smith (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (GEODE-1589) LuceneEventListener can create duplicate index entries during a rebalance
Date Thu, 07 Jul 2016 17:11:11 GMT

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

Dan Smith resolved GEODE-1589.
------------------------------
       Resolution: Fixed
    Fix Version/s: 1.0.0-incubating.M3

> LuceneEventListener can create duplicate index entries during a rebalance
> -------------------------------------------------------------------------
>
>                 Key: GEODE-1589
>                 URL: https://issues.apache.org/jira/browse/GEODE-1589
>             Project: Geode
>          Issue Type: Bug
>          Components: lucene
>            Reporter: Dan Smith
>             Fix For: 1.0.0-incubating.M3
>
>
> LuceneQueriesPeerPRDUnitTest.returnCorrectResultsAfterRebalance occasionally fails with
an extra entry in the results.
> Looking at the code, it looks like there may be a problem with how we handle duplicate
events. The listener calls IndexRepository.create, which will add a duplicate entry if the
entry already exists in the index. Because of the way the async event queue works, we can
invoke duplicate create events on the old primary and new primary when a bucket is rebalanced
or a member crashes.



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

Mime
View raw message