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

Axel Hanikel commented on OAK-11069:
------------------------------------

Created PR at https://github.com/apache/jackrabbit-oak/pull/1675

This PR does not solve the problem entirely: the refresher thread is still 
giving up, but at least the situation is discoverable in the logs and can be 
acted upon.

I am tempted to add a Runtime.getRuntime().exit(1) to AzurePersistence:106 
(replacing the "TODO"), but I think this needs further examination. The 
situation is non-recoverable, however.

[~adulceanu] [~miroslav] Could you have a look?

> AzureRepositoryLock: Thread should not die silently on exceptions other than 
> StorageException
> ---------------------------------------------------------------------------------------------
>
>                 Key: OAK-11069
>                 URL: https://issues.apache.org/jira/browse/OAK-11069
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>            Reporter: Axel Hanikel
>            Priority: Major
>
> AzureRepositoryLock should handle other types of exceptions in refreshLease.
> https://github.com/apache/jackrabbit-oak/blob/53b51f29e40cd0f0f9e30999751b63de64038737/oak-segment-azure/src/main/java/org/apache/jackrabbit/oak/segment/azure/AzureRepositoryLock.java#L140-L140



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to