[
https://issues.apache.org/jira/browse/SLING-10112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17369307#comment-17369307
]
Timothee Maret commented on SLING-10112:
----------------------------------------
Based on [~cschneider] input, this issue an two features
* (a) Have the package poller wait on an idle status poller before consuming
messages, that's the feature described initially in the ticket.
* (b) Force the idle check heuristic to timeout which is a useful feature in
case the package topic is huge and/or the rate of package production rate is
higher than the consuming rate.
We need to revert (a) but keep (b).
> 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
> Fix For: Content Distribution Journal Core 0.1.18
>
>
> 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)