You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2014/03/27 10:26:14 UTC

[jira] [Resolved] (OAK-1485) AsyncIndexUpdate unable to cope with restarts in an OSGi environment

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

Alex Parvulescu resolved OAK-1485.
----------------------------------

       Resolution: Cannot Reproduce
    Fix Version/s:     (was: 0.20)

I can't manage to reproduce this anymore. I think it might have been a race condition on the shutdown of the container.

Either way I think restarting the repository bundle is a pretty disruptive operation, and it would probably be followed by a full container restart.

> AsyncIndexUpdate unable to cope with restarts in an OSGi environment
> --------------------------------------------------------------------
>
>                 Key: OAK-1485
>                 URL: https://issues.apache.org/jira/browse/OAK-1485
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>            Reporter: Alex Parvulescu
>            Assignee: Alex Parvulescu
>            Priority: Critical
>
> Restarting the oak-core bundle leaves the Async Indexer in an bad state 
> {code}
> org.apache.sling.commons.scheduler.impl.QuartzScheduler Exception during job execution of org.apache.jackrabbit.oak.plugins.index.AsyncIndexUpdate@1408475 : service must be activated when used
> java.lang.IllegalStateException: service must be activated when used
> 	at com.google.common.base.Preconditions.checkState(Preconditions.java:150)
> 	at org.apache.jackrabbit.oak.plugins.segment.SegmentNodeStoreService.getNodeStore(SegmentNodeStoreService.java:70)
> 	at org.apache.jackrabbit.oak.plugins.segment.SegmentNodeStoreService.getNodeStore(SegmentNodeStoreService.java:40)
> 	at org.apache.jackrabbit.oak.spi.state.ProxyNodeStore.checkpoint(ProxyNodeStore.java:67)
> 	at org.apache.jackrabbit.oak.plugins.index.AsyncIndexUpdate.run(AsyncIndexUpdate.java:115)
> 	at org.apache.sling.commons.scheduler.impl.QuartzJobExecutor.execute(QuartzJobExecutor.java:105)
> 	at org.quartz.core.JobRunShell.run(JobRunShell.java:207)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> 	at java.lang.Thread.run(Thread.java:724)
> {code}



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