[
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-421?pag...
]
Sanne Grinovero commented on HSEARCH-421:
-----------------------------------------
Another hint about the code needed in PerDPQueueProcessor:
don't forget to wrap also the optimization operations and the indexWriter close.
Imho you should accumulate work which was done in some collection and so in case of
failure you can find out which work was performed and which wasn't, but you should
avoid attempts to recover or ignore errors, we still want to cancel the current queue.
Consider the ErrorContextBuilder is your own child, you're free to change it to better
match the need to track work which was performed before the failure.
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira