jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chetan Mehrotra (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-3200) Build Failure due to LuceneSupportTest and OakOSGiRepositoryFactoryTest
Date Mon, 10 Aug 2015 11:54:46 GMT

    [ https://issues.apache.org/jira/browse/OAK-3200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14679992#comment-14679992

Chetan Mehrotra commented on OAK-3200:

There was bug in current shutdown logic in Repository created via PojoSR. Currently it was
triggering a shutdown of framework first (which is async) and then it was shutting down repository.
This creates a race condition where a ServiceRegistration is unregistered due to bundle getting
stopped and then call to unregister is made again with repository shutdown flow.

With change done in OAK-3197 this condition become more prominent as repository shutdown call
waits for some time and by that time framework shutdown is complete and hence the exception
is started getting seen.

Fixed the with http://svn.apache.org/r1695032 by changing the order of shutdown

> Build Failure due to LuceneSupportTest and OakOSGiRepositoryFactoryTest
> -----------------------------------------------------------------------
>                 Key: OAK-3200
>                 URL: https://issues.apache.org/jira/browse/OAK-3200
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: pojosr
>            Reporter: angela
>            Assignee: Chetan Mehrotra
>             Fix For: 1.3.4
> as described on oak-dev
> i will mark the failing tests to be ignored.... [~chetanm], would you mind fixing this?

This message was sent by Atlassian JIRA

View raw message