You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stefan Seifert (Jira)" <ji...@apache.org> on 2022/03/14 10:33:00 UTC
[jira] [Resolved] (SLING-11194) Content Loader: Add log message if Sling-Initial-Content is not processed due to stale lock node at /var/sling/bundle-content
[ https://issues.apache.org/jira/browse/SLING-11194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Seifert resolved SLING-11194.
------------------------------------
Fix Version/s: JCR ContentLoader 2.5.2
Resolution: Fixed
https://github.com/apache/sling-org-apache-sling-jcr-contentloader/commit/49cbcfba3b8873fe08e32202921fc2964fd75ac7
> Content Loader: Add log message if Sling-Initial-Content is not processed due to stale lock node at /var/sling/bundle-content
> -----------------------------------------------------------------------------------------------------------------------------
>
> Key: SLING-11194
> URL: https://issues.apache.org/jira/browse/SLING-11194
> Project: Sling
> Issue Type: Bug
> Components: Extensions
> Affects Versions: JCR ContentLoader 2.5.0
> Reporter: Stefan Seifert
> Assignee: Stefan Seifert
> Priority: Minor
> Fix For: JCR ContentLoader 2.5.2
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)