[
https://issues.apache.org/jira/browse/SLING-7555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marius Petria resolved SLING-7555.
----------------------------------
Resolution: Fixed
Assignee: Marius Petria
Fixed in
https://github.com/apache/sling-org-apache-sling-distribution-core/commit/ee2c3dd0591d0f2c2a4b3a15f726f866c81e1ed3
> 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
> Assignee: Marius Petria
> Priority: Major
> Fix For: Content Distribution Core 0.3.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)