sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ankit Aggarwal (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SLING-7620) Bypassing Ghost Packages in SCD
Date Thu, 26 Apr 2018 06:47:00 GMT
Ankit Aggarwal created SLING-7620:
-------------------------------------

             Summary: Bypassing Ghost Packages in SCD
                 Key: SLING-7620
                 URL: https://issues.apache.org/jira/browse/SLING-7620
             Project: Sling
          Issue Type: Bug
          Components: Content Distribution
    Affects Versions: Content Distribution Core 0.2.8
            Reporter: Ankit Aggarwal


Sometimes the distribution package gets deleted from the queue [0] but the actual item in
the distribution queue [1] is not deleted leading it become a Ghost Package. Because of this
same item is picked up again and again resulting in queue blocking and repeated warnings: 


{quote}19.03.2018 15:10:04.130 *WARN* [10.43.32.54 [1521486603947] POST /libs/sling/distribution/services/exporters/socialpubsync-reverse
HTTP/1.1] org.apache.sling.distribution.packaging.impl.exporter.AgentDistributionPackageExporter
cannot get package DistributionPackageInfo\{ request.type=ADD, request.paths=[/home/groups/umuc/tus/cmit/cmit372/2188/027346-01-2188-OL1-6380/tnWOVAWBzaSHIzeDWana/rep:policy]}
{quote}
We need to make the code fail safe to handle such situations i.e. deleting the item in the
distribution queue if it is not able to find the corresponding package. 

[0] /var/sling/distribution/packages/socialpubsync-vlt/data

[1] /var/eventing/jobs/unassigned/org.apache.sling.distribution.queue.socialpubsync-reverse.default

 

cc: [~marett], [~mpetria]



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

Mime
View raw message