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

Content Loader: Add log message if Sling-Initial-Content is not processed due to stale lock node at /var/sling/bundle-content

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • JCR ContentLoader 2.5.0
    • JCR ContentLoader 2.5.2
    • Extensions
    • None

    Description

      we had one occurrence of a very difficult to debug issue that on only one out of many instances a given bundle with Sling-Initial-Content was not processed properly when the bundle was registered by ContentLoader without any indication about the reason in the log files, even at DEBUG level.

      only the message Registering bundle XYZ for content loading. was logged but nothing more, the Sling-Initial-Content was completely ignored.

      we found out that the root cause was a stale "locking node" at /var/sling/bundle-content/XYZ which was probably left there after and unexpected instance shutdown or other failure. the problem was solved by deleting this locking node, but the error log did not help. we should add some more DEBUG log messages in this error to help diagnosing rare problems like this.

      Attachments

        Activity

          People

            sseifert Stefan Seifert
            sseifert Stefan Seifert
            Votes:
            0 Vote for this issue
            Watchers:
            1 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