Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-1589

LuceneEventListener can create duplicate index entries during a rebalance

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0-incubating.M3
    • lucene
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            upthewaterspout Dan Smith
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: