[
https://issues.apache.org/jira/browse/OAK-12180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18073432#comment-18073432
]
Miroslav Smiljanic commented on OAK-12180:
------------------------------------------
[~ahanikel]
I think the name shutdownHook is misleading. The method is not part of the
public API and, from the beginning, has not been properly implemented. Also,
shutting down the JVM is not something we can easily do, since Oak is typically
embedded within a higher-level application that depends on it, and termination
can cause undesirable side effects.
I have created a PR for OAK-12181 that introduces a metric. As part of that PR,
I could also rename the shutdownHook runnable to something less dramatic.
> AzureRepositoryLock renewal thread should not terminate
> -------------------------------------------------------
>
> Key: OAK-12180
> URL: https://issues.apache.org/jira/browse/OAK-12180
> Project: Jackrabbit Oak
> Issue Type: Bug
> Reporter: Axel Hanikel
> Priority: Major
>
> There are still situations where an exception occurs in lease renewal and the
> thread exits, meaning it will block writes forever and never recover, even if
> the cause of the exception is temporary.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)