[hibernate-issues] [Hibernate-JIRA] Assigned: (HSEARCH-222) Entities not found during concurrent update

Sanne Grinovero (JIRA) noreply at atlassian.com
Mon Jun 30 17:01:32 EDT 2008


     [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sanne Grinovero reassigned HSEARCH-222:
---------------------------------------

    Assignee:     (was: Sanne Grinovero)

fine, but I unassign it from myself as I have overestimated my free time :-(
I'm still willing to to it, just I can't guarantee a patch soon.

> Entities not found during concurrent update
> -------------------------------------------
>
>                 Key: HSEARCH-222
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-222
>             Project: Hibernate Search
>          Issue Type: Bug
>          Components: directory provider, engine
>            Reporter: Sanne Grinovero
>
> As we update an entity by deleting it from index by using a database, and afterwards we reinsert it
> using an IndexWriter, there is a point in time in the middle were no DPlock is held on the Directory,
> At this moment a ReaderProvider could (re)open the index and
> all searches performed on this IndexReader will not find the entity at all.
> We should use a Read/Write Lock on DP instead of the current ReentrantLock to use a write
> lock during index updates and avoid creating a bottleneck for different threads needing a searcher.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list