Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-7620

Bypassing Ghost Packages in SCD

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • Content Distribution Core 0.2.8
    • None
    • Content Distribution
    • 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

       

      cc: marett, mpetria

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ankitagarwaladobe Ankit Aggarwal
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h