[
https://jira.jboss.org/browse/ISPN-567?page=com.atlassian.jira.plugin.sys...
]
Sanne Grinovero updated ISPN-567:
---------------------------------
Affects Version/s: (was: 4.0.0.Final)
issue was not in 4.0.0.Final as the readlocks (which are needed per se) where added
later.
Avoid readlocks on small Lucene segments
----------------------------------------
Key: ISPN-567
URL:
https://jira.jboss.org/browse/ISPN-567
Project: Infinispan
Issue Type: Task
Components: Lucene Directory
Affects Versions: 4.1.0.CR2
Reporter: Sanne Grinovero
Assignee: Sanne Grinovero
Fix For: 4.1.0.CR3, 4.1.0.Final
The readlocks to prevent segments chunks from being deleted are not required when the
segment is stored in a single chunk.
As most Lucene segments are small enough and the readlock requires multiple sync
operations it would be a great performance boost to avoid using readlocks on the
single-chunk segments.
--
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