Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-4626

Race condition in the LocalEntryRetriever between iterator() and hasNext()

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • 7.0.0.Alpha5
    • 7.0.0.Beta1
    • Core
    • None

    Description

      The LocalEntryRetriver sometimes will erroneously return false for hasNext right after creation of the iterator, because initial retrieval is done on a separate thread and it may not finish on time.
      This is causing intermittent failures in the index-less query tests. See ISPN-4594

      Attachments

        Issue Links

          Activity

            People

              gfernand@redhat.com Gustavo Fernandes (Inactive)
              gfernand@redhat.com Gustavo Fernandes (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: