jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davide Giannella (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (OAK-4677) stop oak-core bundle only transiently on lease failure
Date Mon, 05 Sep 2016 09:33:22 GMT

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

Davide Giannella closed OAK-4677.

Bulk close for 1.5.9

> stop oak-core bundle only transiently on lease failure
> ------------------------------------------------------
>                 Key: OAK-4677
>                 URL: https://issues.apache.org/jira/browse/OAK-4677
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: documentmk
>    Affects Versions: 1.4.6, 1.5.8
>            Reporter: Stefan Egli
>            Assignee: Stefan Egli
>             Fix For: 1.4.7, 1.5.9
> Since OAK-3397 the oak-core bundle is stopped (via {{bundle.stop();}}) when the lease
with the document store times out (ie lease failed to be updated in time). Using {{bundle.stop();}}
leads to an unwanted side-effect, namely that it _changes and persists the autostart_ settings
of the bundle. Ie on next startup the oak-core bundle will not automatically start.
> Using {{bundle.stop(Bundle.STOP_TRANSIENT);}} would avoid this and achieve exactly what
was the original intension: to stop the bundle (temporarily) until restart

This message was sent by Atlassian JIRA

View raw message