[ 
https://issues.apache.org/jira/browse/SLING-6274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15661609#comment-15661609
 ] 

Bertrand Delacretaz commented on SLING-6274:
--------------------------------------------

I can reproduce this on the trunk launchpad/builder by creating two nodes:
* {{/system/sling/installer/jcr/pauseInstallation/foo}} which activates the 
installer pause mode
* {{libs/x/install}} or any other new installable folder which causes the pause 
to become effective.

When this happens, the installer doesn't wait between calls to runOneCycle, as 
it usually does, and calls it in a tight loop.

> Busy loop in jcr installer
> --------------------------
>
>                 Key: SLING-6274
>                 URL: https://issues.apache.org/jira/browse/SLING-6274
>             Project: Sling
>          Issue Type: Bug
>          Components: Installer
>    Affects Versions: JCR Installer 3.1.18
>            Reporter: Carsten Ziegeler
>            Assignee: Bertrand Delacretaz
>             Fix For: JCR Installer 3.1.20
>
>
> It seems there is at least sometimes a busy loop:
> 09.11.2016 01:45:38.067 *DEBUG* [JcrInstaller.1] 
> org.apache.sling.installer.provider.jcr.impl.JcrInstaller Running watch cycle.
> 09.11.2016 01:45:38.067 *DEBUG* [JcrInstaller.1] 
> org.apache.sling.installer.provider.jcr.impl.JcrInstaller Found child nodes 
> [e693e4e4-4fab-4a71-aa5d-69170a605f1a] at path 
> /system/sling/installer/jcr/pauseInstallation. Scanning would be paused
> 09.11.2016 01:45:38.067 *DEBUG* [JcrInstaller.1] 
> org.apache.sling.installer.provider.jcr.impl.JcrInstaller Running watch cycle.
> 09.11.2016 01:45:38.067 *DEBUG* [JcrInstaller.1] 
> org.apache.sling.installer.provider.jcr.impl.JcrInstaller Found child nodes 
> [e693e4e4-4fab-4a71-aa5d-69170a605f1a] at path 
> /system/sling/installer/jcr/pauseInstallation. Scanning would be paused
> 09.11.2016 01:45:38.067 *DEBUG* [JcrInstaller.1] 
> org.apache.sling.installer.provider.jcr.impl.JcrInstaller Running watch cycle.
> 09.11.2016 01:45:38.067 *DEBUG* [JcrInstaller.1] 
> org.apache.sling.installer.provider.jcr.impl.JcrInstaller Found child nodes 
> [e693e4e4-4fab-4a71-aa5d-69170a605f1a] at path 
> /system/sling/installer/jcr/pauseInstallation. Scanning would be paused
> 09.11.2016 01:45:38.067 *DEBUG* [JcrInstaller.1] 
> org.apache.sling.installer.provider.jcr.impl.JcrInstaller Running watch cycle.
> 09.11.2016 01:45:38.067 *DEBUG* [JcrInstaller.1] 
> org.apache.sling.installer.provider.jcr.impl.JcrInstaller Found child nodes 
> [e693e4e4-4fab-4a71-aa5d-69170a605f1a] at path 
> /system/sling/installer/jcr/pauseInstallation. Scanning would be paused
> 09.11.2016 01:45:38.067 *DEBUG* [JcrInstaller.1] 
> org.apache.sling.installer.provider.jcr.impl.JcrInstaller Running watch cycle.
> 09.11.2016 01:45:38.067 *DEBUG* [JcrInstaller.1] 
> org.apache.sling.installer.provider.jcr.impl.JcrInstaller Found child nodes 
> [e693e4e4-4fab-4a71-aa5d-69170a605f1a] at path 
> /system/sling/installer/jcr/pauseInstallation. Scanning would be paused
> 09.11.2016 01:45:38.067 *DEBUG* [JcrInstaller.1] 
> org.apache.sling.installer.provider.jcr.impl.JcrInstaller Running watch cycle.
> 09.11.2016 01:45:38.067 *DEBUG* [JcrInstaller.1] 
> org.apache.sling.installer.provider.jcr.impl.JcrInstaller Found child nodes 
> [e693e4e4-4fab-4a71-aa5d-69170a605f1a] at path 
> /system/sling/installer/jcr/pauseInstallation. Scanning would be paused
> 09.11.2016 01:45:38.067 *DEBUG* [JcrInstaller.1] 
> org.apache.sling.installer.provider.jcr.impl.JcrInstaller Running watch cycle.
> 09.11.2016 01:45:38.067 *DEBUG* [JcrInstaller.1] 
> org.apache.sling.installer.provider.jcr.impl.JcrInstaller Found child nodes 
> [e693e4e4-4fab-4a71-aa5d-69170a605f1a] at path 
> /system/sling/installer/jcr/pauseInstallation. Scanning would be paused
> 09.11.2016 01:45:38.067 *DEBUG* [JcrInstaller.1] 
> org.apache.sling.installer.provider.jcr.impl.JcrInstaller Running watch cycle.
> 09.11.2016 01:45:38.067 *DEBUG* [JcrInstaller.1] 
> org.apache.sling.installer.provider.jcr.impl.JcrInstaller Found child nodes 
> [e693e4e4-4fab-4a71-aa5d-69170a605f1a] at path 
> /system/sling/installer/jcr/pauseInstallation. Scanning would be paused
> 09.11.2016 01:45:38.067 *DEBUG* [JcrInstaller.1] 
> org.apache.sling.installer.provider.jcr.impl.JcrInstaller Running watch cycle.
> 09.11.2016 01:45:38.067 *DEBUG* [JcrInstaller.1] 
> org.apache.sling.installer.provider.jcr.impl.JcrInstaller Found child nodes 
> [e693e4e4-4fab-4a71-aa5d-69170a605f1a] at path 
> /system/sling/installer/jcr/pauseInstallation. Scanning would be paused
> 09.11.2016 01:45:38.067 *DEBUG* [JcrInstaller.1] 
> org.apache.sling.installer.provider.jcr.impl.JcrInstaller Running watch cycle.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to