Repository Ping thread may terminate without any traces in the log files
------------------------------------------------------------------------

                 Key: SLING-698
                 URL: https://issues.apache.org/jira/browse/SLING-698
             Project: Sling
          Issue Type: Bug
          Components: JCR
    Affects Versions: JCR Base 2.0.2
            Reporter: Felix Meschberger
            Assignee: Felix Meschberger
            Priority: Critical
             Fix For: JCR Base 2.0.4


The Repository Ping thread ensures the repository is shutdown (or released) and 
the service unregistered when the thread terminates. The problem is, that the 
thread may either terminate because it is asked to terminate as per 
AbstractSlingRepository.stopRepositoryPinger called by the deactivate method or 
it terminates because of an uncaught Throwable. Neither case is currently 
properly logged.

The AbstractSlingRepository.run() method should log the following situations:

  * request to terminate as per AbstractSlingRepository.stopRepositoryPinger as 
INFO message
  * uncaught throwable as ERROR message
  * it is about to be going down as an INFO message


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to