[ 
https://issues.apache.org/jira/browse/SLING-462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12599577#action_12599577
 ] 

Carsten Ziegeler commented on SLING-462:
----------------------------------------

Looking at the code, I curently can't see how this state could be reached.
Can you turn on debug logging and try to reproduce this state? If something 
goes wrong there should be an exception in the log.

> Endless loop in JobEventHandler
> -------------------------------
>
>                 Key: SLING-462
>                 URL: https://issues.apache.org/jira/browse/SLING-462
>             Project: Sling
>          Issue Type: Bug
>          Components: Event
>    Affects Versions: 2.0.0
>            Reporter: Tobias Bocanegra
>            Assignee: Carsten Ziegeler
>            Priority: Critical
>
> the runInBackground method has an endless loop, when
> - the queue is not empty,
> - the item still exists
> - parallelProcessing is false
> - the processing map already has the topic
> - the eventNode is not locked
> i don't know how exactly this state was reached, most probably by a failing 
> JobProcessor.
> note: after the respective nodes are deleted, the endless loop ends :-)

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