[ 
https://issues.apache.org/jira/browse/SLING-10123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mohit Arora updated SLING-10123:
--------------------------------
    Description: 
In case of recoverable exceptions, distribution agent queue processor does not 
evict the queue item from the processing queue. Rather, the item is retried 
infinitely until either the distribution of the item is successful or a 
non-recoverable exception is thrown for the item. However, since there is 
"something wrong" because of which an exception is thrown in the first place, 
we should add a cool off period before trying to reattempt to distribute the 
same item. This can be achieved through a linear of exponential backoff.

cc - [~ashishc]

  was:In case of recoverable exceptions, distribution agent queue processor 
does not evict the queue item from the processing queue. Rather, the item is 
retried infinitely until either the distribution of the item is successful or a 
non-recoverable exception is thrown for the item. However, since there is 
"something wrong" because of which an exception is thrown in the first place, 
we should add a cool off period before trying to reattempt to distribute the 
same item. This can be achieved through a linear of exponential backoff.


> Distribution agent queue processor should implement a backoff in case of 
> retries for processing an item
> -------------------------------------------------------------------------------------------------------
>
>                 Key: SLING-10123
>                 URL: https://issues.apache.org/jira/browse/SLING-10123
>             Project: Sling
>          Issue Type: Bug
>          Components: Content Distribution
>    Affects Versions: Content Distribution Core 0.4.2
>            Reporter: Mohit Arora
>            Priority: Major
>             Fix For: Content Distribution Core 0.4.4
>
>
> In case of recoverable exceptions, distribution agent queue processor does 
> not evict the queue item from the processing queue. Rather, the item is 
> retried infinitely until either the distribution of the item is successful or 
> a non-recoverable exception is thrown for the item. However, since there is 
> "something wrong" because of which an exception is thrown in the first place, 
> we should add a cool off period before trying to reattempt to distribute the 
> same item. This can be achieved through a linear of exponential backoff.
> cc - [~ashishc]



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

Reply via email to