[zanata-bugs] [Bug 845896] Ensure that Hibernate Search shuts down cleanly

bugzilla at redhat.com bugzilla at redhat.com
Wed Aug 8 02:17:07 UTC 2012


https://bugzilla.redhat.com/show_bug.cgi?id=845896

Sean Flanigan <sflaniga at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |ON_QA

--- Comment #1 from Sean Flanigan <sflaniga at redhat.com> ---
Implemented a shutdown hook which prevents GWTEventService servlet from
blocking shutdown for five minutes.  This should enable a clean shutdown.

In release (1.6-SNAPSHOT):
https://github.com/zanata/zanata/commit/4fe87b3430487ad55ba74fa643810e414819a310

In integration/master:
https://github.com/zanata/zanata/commit/4fe87b3430487ad55ba74fa643810e414819a310

I tried to implement another shutdown hook (a fail-safe which would close the
EntityManagerFactory after 20 seconds), but Seam shuts down before it fires.  I
think we just have to be careful to shut down Zanata cleanly, and if we are
forced to use kill -9, we should delete the index directory before restarting.

-- 
You are receiving this mail because:
You are on the CC list for the bug.




More information about the zanata-bugs mailing list