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 "Davide Giannella (JIRA)" <ji...@apache.org> on 2016/09/05 09:33:22 UTC

[jira] [Closed] (OAK-4677) stop oak-core bundle only transiently on lease failure

     [ 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
(v6.3.4#6332)