[
https://issues.apache.org/jira/browse/OAK-4677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Julian Reschke updated OAK-4677:
--------------------------------
Fix Version/s: 1.6
> 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.6, 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)