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

LuceneService.waitForFlushed does not wait if members have been restarted

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • lucene
    • None

    Description

      We wrote a test that

      • puts 10K entries,
      • pauses the async event queue
      • removes the same entries minus 1
      • Closes the cache in the data stores
      • Recreates the cache
      • calls LuceneService.waitForFlush
      • Does a query to LuceneService ensuring only 1 item is in the cache

      This test fails consistently, even though we would expect waitForFlush not to return until the queue has been fully processed. Running the same test without closing/recreating the cache succeeds consistently, so there seems to be an interaction problem between some combination of the queue, cache lifecycle and waitForFlush. 

      Attachments

        Activity

          People

            nnag Nabarun Nag
            smgoller Sean Goller
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: