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

Timothee Maret commented on SLING-10112:
----------------------------------------

For the record, the non heuristic way to solve this would be to interrupt the 
Session#save operation but that is not possible. The JCR API does not cover 
interruptions and Apache Oak does not support Tread.interruptĀ 
https://jackrabbit.apache.org/oak/docs/dos_and_donts.html

> Distribution Queue can not be reliably cleared due to race condition 
> processing delete messages
> -----------------------------------------------------------------------------------------------
>
>                 Key: SLING-10112
>                 URL: https://issues.apache.org/jira/browse/SLING-10112
>             Project: Sling
>          Issue Type: Improvement
>          Components: Content Distribution
>            Reporter: Christian Schneider
>            Assignee: Christian Schneider
>            Priority: Major
>
> Replication queue can not be reliable cleared due to race condition with 
> processing the 'delete' messages.
> If the first message is stuck during processing, the 'clear queue' signal 
> might never have effect on the subscriber.
> A restart of the process does not help as the same situation might occur.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to