]
Sanne Grinovero resolved HSEARCH-272.
-------------------------------------
Resolution: Fixed
Improve contention on DirectoryProviders in lucene backend
----------------------------------------------------------
Key: HSEARCH-272
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-272
Project: Hibernate Search
Issue Type: Improvement
Components: engine
Affects Versions: 3.1.0.Beta1
Reporter: Sanne Grinovero
Assignee: Sanne Grinovero
Fix For: 3.1.0.Beta2
Currently the lucene backend doesn't acquire locks on DirectoryProvider(s) until
needed, but releases them only at end of all work.
So having a workqueue affecting DP A and B in this order:
ABBB will have this locking:
lockA, doA, lockB, doB,doB,doB, unlockA, unlockB.
instead, this would be desirable:
lockA, doA, unlockA, lockB, doB,doB,doB, unlockB
Side-effect is that something like ABAB will be reordered to AABB (keeping correct order
from a DP point of view).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: