You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Timothee Maret (JIRA)" <ji...@apache.org> on 2018/04/26 09:05:00 UTC

[jira] [Comment Edited] (SLING-7555) Remove ghost packages from distribution agent queue

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

Timothee Maret edited comment on SLING-7555 at 4/26/18 9:04 AM:
----------------------------------------------------------------

[~mpetria] delaying the investigation of the root cause is an option. But I fear there is a high chance that nobody will really commit to that ;-). The workaround will likely stick in the code for a long time, and introduce more complexity and potentially impact consistency negatively. 


was (Author: marett):
[~mpetria] delaying the investigation of the root cause is an option. But I fear there is a high chance that nobody will really commit to that ;-).

> 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)