[infinispan-issues] [JBoss JIRA] (ISPN-4626) Race condition in the LocalEntryRetriever between iterator() and hasNext()

Gustavo Fernandes (JIRA) issues at jboss.org
Fri Aug 8 14:52:29 EDT 2014


     [ https://issues.jboss.org/browse/ISPN-4626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gustavo Fernandes updated ISPN-4626:
------------------------------------

    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


  was:
The LocalEntryRetriver sometimes will erroneously return hasNext( ) = false because initial retrieval is done on a separate thread and it doesn't finish on time.
This is causing intermittent failures in the index-less query tests
See ISPN-4594




> Race condition in the LocalEntryRetriever between iterator() and hasNext()
> --------------------------------------------------------------------------
>
>                 Key: ISPN-4626
>                 URL: https://issues.jboss.org/browse/ISPN-4626
>             Project: Infinispan
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Core
>    Affects Versions: 7.0.0.Alpha5
>            Reporter: Gustavo Fernandes
>            Assignee: Gustavo Fernandes
>
> 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



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the infinispan-issues mailing list