Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1128817

Summary: Race condition in the LocalEntryRetriever between iterator() and hasNext()
Product: [JBoss] JBoss Data Grid 6 Reporter: Adrian Nistor <anistor>
Component: InfinispanAssignee: Tristan Tarrant <ttarrant>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Gencur <mgencur>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.3.1, 6.4.0CC: jdg-bugs, mhusnain, tsykora
Target Milestone: ER1   
Target Release: 6.3.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1139618 (view as bug list) Environment:
Last Closed: 2015-01-26 14:03:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1139618    

Description Adrian Nistor 2014-08-11 15:22:18 UTC
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

Comment 2 Adrian Nistor 2014-08-11 15:47:45 UTC
PRs available for jdg-6.3.x and jdg-6.4.x:

https://github.com/infinispan/jdg/pull/171
https://github.com/infinispan/jdg/pull/172

Comment 3 Tomas Sykora 2014-08-28 13:20:45 UTC
Cool, VERIFIED for 6.3.0 ER1.

BZ remains open until verification with 6.4.0.E/DRx