You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2014/08/08 15:50:12 UTC

[jira] [Closed] (SLING-3812) Avoid search when loading jobs

     [ https://issues.apache.org/jira/browse/SLING-3812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler closed SLING-3812.
-----------------------------------


> Avoid search when loading jobs
> ------------------------------
>
>                 Key: SLING-3812
>                 URL: https://issues.apache.org/jira/browse/SLING-3812
>             Project: Sling
>          Issue Type: Improvement
>          Components: Extensions
>    Affects Versions: Event 3.3.10
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: Event 3.3.12
>
>
> Using a search with Oak is problematic as it throws an UnsupportedOperationException when the search takes too long. This might happen when the job handling starts up and searches for all existing jobs. Simply put, using a search with Oak is not safe and needs to be avoided in this case - otherwise the job handling blows up as it is not expecting an UnsupportedOperationException. Even if it would, there is no way around this as the search is simply not executed.
> This worked fine with JR2



--
This message was sent by Atlassian JIRA
(v6.2#6252)