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

Timothee Maret commented on SLING-9716:
---------------------------------------

Done inĀ 
[https://github.com/apache/sling-org-apache-sling-distribution-journal/commit/9d5faa5605008f4a8ac7ef8896914473ac4c8599]

> Subscriber idle check should turn green when failing with the same package
> --------------------------------------------------------------------------
>
>                 Key: SLING-9716
>                 URL: https://issues.apache.org/jira/browse/SLING-9716
>             Project: Sling
>          Issue Type: Improvement
>    Affects Versions: Content Distribution Journal Core 0.1.10
>            Reporter: Timothee Maret
>            Assignee: Timothee Maret
>            Priority: Major
>             Fix For: Content Distribution Journal Core 0.1.18
>
>
> The idle check is implements an heuristic to allow a subscriber to catch up 
> with packages before being activated. The heuristic considers a subscriber to 
> have catch up when its importer has been idle waiting for new package to 
> import for more than 10 second.
> In case of failures to import a package, the idle check never turns idle 
> unless the package gets removed from the queue. Removing the item from the 
> queue is not a sensible option for automated tests. We should improve the 
> heuristic to cover those cases. The idle check will be extended to turn green 
> when the same package has been retried 10+ times.



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

Reply via email to