Bug 1135580

Summary: LuceneCacheLoader doing unecessary IO
Product: [JBoss] JBoss Data Grid 6 Reporter: Gustavo Fernandes <gfernand>
Component: InfinispanAssignee: Tristan Tarrant <ttarrant>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Gencur <mgencur>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.3.1, 6.4.0CC: anistor, gsheldon, jdg-bugs, mhusnain, vjuranek
Target Milestone: ER2   
Target Release: 6.3.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously in JBoss Data Grid, after a read-only Lucene index was preloaded via the cacheloader, the backing index was still accessed for small segments. This is now fixed in JBoss Data Grid 6.3.1 so that preloading a read-only Lucene index works as expected.
Story Points: ---
Clone Of:
: 1139645 (view as bug list) Environment:
Last Closed: 2015-01-26 14:04:25 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: 1139645    

Description Gustavo Fernandes 2014-08-29 17:13:13 UTC
Description of problem:

The incorrect calculation can provoke unecessary IO during LuceneCacheLoader usage 

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Gustavo Fernandes 2014-08-29 19:00:27 UTC
PR for jdg 6.3.x: https://github.com/infinispan/jdg/pull/217
PR for jdg 6.4.x: https://github.com/infinispan/jdg/pull/218

Comment 3 Gustavo Fernandes 2014-08-29 20:31:00 UTC
*** Bug 1135608 has been marked as a duplicate of this bug. ***

Comment 4 Adrian Nistor 2014-08-30 11:36:14 UTC
Integrated in both 6.3.x and 6.4.x.