[ 
https://issues.apache.org/jira/browse/OAK-5742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15876291#comment-15876291
 ] 

Stefan Egli commented on OAK-5742:
----------------------------------

* added to trunk in [rev 
1783910|http://svn.apache.org/viewvc?rev=1783910&view=rev]

> more logging when ChangeProcessor.stopAndWait fails
> ---------------------------------------------------
>
>                 Key: OAK-5742
>                 URL: https://issues.apache.org/jira/browse/OAK-5742
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: jcr
>    Affects Versions: 1.6.0
>            Reporter: Stefan Egli
>            Assignee: Stefan Egli
>             Fix For: 1.7.0, 1.8
>
>
> When ChangeProcessor.stopAndWait fails (returns false) the 
> [ObservationManager issues a 
> log.warn|https://github.com/apache/jackrabbit-oak/blob/be59ea9a098279fd243f83ff0ecbcb8fa71249db/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/observation/ObservationManagerImpl.java#L457]
>  resulting in something like this:
> {noformat}
> 20.02.2017 16:40:05.773 *WARN* [FelixStartLevel] 
> org.apache.jackrabbit.oak.jcr.observation.ObservationManagerImpl Timed out 
> waiting for change processor to stop after 1000 milliseconds. Falling back to 
> asynchronous stop on ChangeProcessor [listenerId=56, 
> tracker=//*[11111b]@org.apache.sling.jcr.resource.internal.JcrResourceListener,
>  contentSession=session-1181, 
> eventCount=org.apache.jackrabbit.oak.plugins.metric.CompositeStats@3da35e6e, 
> eventDuration=org.apache.jackrabbit.oak.plugins.metric.CompositeStats@308ca75f,
>  commitRateLimiter=null, running=false]
> {noformat}
> Unfortunately - in case of the Sling JcrResourceListener - you can't know 
> which actual {{ResourceChangeListener}} is hiding behind it.
> The above log.warn should be improved to also show the {{getToString()}} of 
> the listener which provides more details including the actual 
> ResourceChangeListener.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to