[hibernate-issues] [Hibernate-JIRA] Created: (HSEARCH-822) SearchFactoryState should use concurrent Maps for incrementally updated metadata
Sanne Grinovero (JIRA)
noreply at atlassian.com
Fri Jul 29 08:44:04 EDT 2011
SearchFactoryState should use concurrent Maps for incrementally updated metadata
--------------------------------------------------------------------------------
Key: HSEARCH-822
URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-822
Project: Hibernate Search
Issue Type: Bug
Components: engine
Affects Versions: 3.4.0.Final
Reporter: Sanne Grinovero
Assignee: Sanne Grinovero
Fix For: 4.0.0.Alpha1
I've experienced very sporadic failures of MutableFactoryTest, when trying again it won't be reproduced.
The Workspace goes in NPE on the single-line method
{code}org.hibernate.search.backend.Workspace.getDocumentBuilder(Class<T>){code}
So it seems it's receiving work for a new entity type while the document builder of it was not "deployed" yet.
Indeed these DocumentBuilders are stored in a non-concurrent HashMap, replacing the implementation with a CHM it's now running the tests in a loop without reporting the exception anymore.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list