Timothee Maret created SLING-9716:
-------------------------------------

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