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

Tommaso Teofili commented on SLING-3966:
----------------------------------------

I think this is actually a different thing, for example this wouldn't address 
the 'priority' path (using a dedicated queue for a certain subtree).
For the error handling of a queue (during its processing) and import of a 
package are of course coupled, but the error aware queue distribution strategy 
takes care of items that have been failing for a long time eventually 
redistributing them into another queue, I think you're right in the fact that 
the 'cleaning process' of a queue should be done as soon as a queue is 
processed (which resumes to be when the import is done), not when new items are 
added (as it's today).

> ErrorAwareQueueDistributionStrategy should be implemented as an 
> ImporterDistributionStrategy
> --------------------------------------------------------------------------------------------
>
>                 Key: SLING-3966
>                 URL: https://issues.apache.org/jira/browse/SLING-3966
>             Project: Sling
>          Issue Type: Improvement
>          Components: Replication
>            Reporter: Marius Petria
>            Assignee: Tommaso Teofili
>
> Treating replication errors should be done right after the import not when 
> package queuing is done. Hence we might need to define a different extension 
> point (ImporterDistributionStrategy) and treat the error at that place.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to