Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
Content Distribution Core 0.2.8
-
None
-
None
Description
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:
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]}
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
Attachments
Issue Links
- duplicates
-
SLING-7555 Remove ghost packages from distribution agent queue
- Resolved
- links to