[hibernate-issues] [Hibernate-JIRA] Updated: (HSEARCH-421) Exceptions happening in backend are unnoticed (Amin Mohammed-Coleman)

Sanne Grinovero (JIRA) noreply at atlassian.com
Sat Apr 3 17:15:31 EDT 2010


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

Sanne Grinovero updated HSEARCH-421:
------------------------------------

    Attachment: HSEARCH-421-3-4-2010.patch

new patch, an update on Amin's work:
* the ErrorHandler is built only once at SearchFactory creation
* the default implementation is logging a single statement
* adding a testcase, to be completed
* changed all formatting to tabs and adding copyright headers
* changed Environment.ERROR_HANDLER value

The test is having some lines commented out which needs completion to adapt on the effective output of ErrorHandler;
The org.hibernate.search.backend.impl.lucene.PerDPQueueProcessor#run() method still needs to implement required logic: a single catch statement wrapping the full method is needed, and the test should be able to verify the errorcontext is able to tell which work was lost (the "subsequentFailure"(s) as named in ErrorContextBuilder).

Finally, documentation is needed.

> Exceptions happening in backend are unnoticed (Amin Mohammed-Coleman)
> ---------------------------------------------------------------------
>
>                 Key: HSEARCH-421
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-421
>             Project: Hibernate Search
>          Issue Type: Bug
>          Components: engine
>    Affects Versions: 3.1.0.GA, 3.1.1.GA
>            Reporter: Sanne Grinovero
>            Assignee: Sanne Grinovero
>             Fix For: 3.2.0.CR1
>
>         Attachments: HibernateSearch-421-01042010.patch, HibernateSearch-421-24032010-FixedStyle.patch, HibernateSearch-421-24032010.patch, HSEARCH-421-3-4-2010.patch
>
>
> Any exception happening in the backend is not noticed as it happens in a separate thread.

-- 
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