Avoid unnecessary load of index segment chunks during first creation
--------------------------------------------------------------------
Key: ISPN-692
URL:
https://jira.jboss.org/browse/ISPN-692
Project: Infinispan
Issue Type: Bug
Components: Lucene Directory
Affects Versions: 4.2.0.ALPHA2, 4.1.0.Final
Reporter: Sanne Grinovero
Assignee: Sanne Grinovero
Priority: Minor
Fix For: 4.2.0.BETA1, 4.2.0.Final, 5.0.0.BETA1, 5.0.0.Final
org.infinispan.lucene.InfinispanIndexOutput.getChunkById(AdvancedCache, FileCacheKey, int,
int, FileMetadata)
is performing a get() operation for buffers even when it can know from the filesize that
such an element will not be found. This is significantly slow when a CacheStore is used,
as the cache won't have the value for sure and so it will attempt to load from the
store.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira