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

Timothee Maret commented on SLING-7555:
---------------------------------------

[~mpetria] Another option, may be to investigate why we have ghost packages at 
all. Assuming we remove the packages only after all the jobs have been executed 
and assuming we create jobs only after the package has been stored, wouldn't it 
be possible to avoid ghost packages ?

> Remove ghost packages from distribution agent queue
> ---------------------------------------------------
>
>                 Key: SLING-7555
>                 URL: https://issues.apache.org/jira/browse/SLING-7555
>             Project: Sling
>          Issue Type: Improvement
>          Components: Content Distribution
>    Affects Versions: Content Distribution Core 0.2.10
>            Reporter: Marius Petria
>            Priority: Major
>             Fix For: Content Distribution Core 0.3.0
>
>
> Currently, (see [1]) an agent exporter only logs an error when a "ghost 
> package" is encountered (a queue entry without a binary). We should log this 
> as an error and remove the item from the queue in order to avoid stuck queues.
>  
>  
> [1]https://github.com/apache/sling-org-apache-sling-distribution-core/blob/master/src/main/java/org/apache/sling/distribution/packaging/impl/exporter/AgentDistributionPackageExporter.java#L102



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to