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 "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2015/08/17 06:09:45 UTC

[jira] [Resolved] (OAK-3203) Make shutdown in PojoSR wait for framework shutdown

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

Chetan Mehrotra resolved OAK-3203.
----------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: 1.3.5)
                   1.3.4

Changed the stop logic to use a SynchronousBundleListener which would countdown a latch upon receiving system bundle stopped event.

Also renamed the timeout property so that same timeout is used both for startup and shutdown

Done in http://svn.apache.org/r1696190

> Make shutdown in PojoSR wait for framework shutdown
> ---------------------------------------------------
>
>                 Key: OAK-3203
>                 URL: https://issues.apache.org/jira/browse/OAK-3203
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: pojosr
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>             Fix For: 1.3.4
>
>
> While looking into OAK-3200 [~catholicon] highlighted that current way of shutting down the PojoSR framework is asynchronous. Hence it can happen that by the time shutdown call of repository comes back the shutdown is not complete.
> As a fix we should look for a way to have shutdown logic wait for framework shutdown to complete



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