jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Köll (Jira) <j...@apache.org>
Subject [jira] [Commented] (OAK-9575) Oak instance failed to update the lease in time
Date Thu, 23 Sep 2021 07:04:00 GMT

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

Claus Köll commented on OAK-9575:
---------------------------------

I would be interested only out of curiosity but how would you handle a restart of a RDBMS
(Security Fix) without starting the repository manually ?

Is there a way the repository would handle this itself automatically ?

> Oak instance failed to update the lease in time
> -----------------------------------------------
>
>                 Key: OAK-9575
>                 URL: https://issues.apache.org/jira/browse/OAK-9575
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: oak-run
>    Affects Versions: 1.22.6
>            Reporter: Ankush Nagapure
>            Priority: Major
>
> We get below error rarely but whenever it occur, each time we have to restart our applications
which uses jackrabbit oak API for creating content repositories.
> Exception: 
> {code:java}
> This oak instance failed to update the lease in time and can therefore no longer access
this DocumentNodeStore.
>  at org.apache.jackrabbit.oak.plugins.document.ClusterNodeInfo.leaseExpired(ClusterNodeInfo.java:1290)
at org.apache.jackrabbit.oak.plugins.document.ClusterNodeInfo.renewLease(ClusterNodeInfo.java:912)
at org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.renewClusterIdLease(DocumentNodeStore.java:2206)
at org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore$BackgroundLeaseUpdate.execute(DocumentNodeStore.java:3333)
at org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore$NodeStoreTask.run(DocumentNodeStore.java:3223)
at java.lang.Thread.run(Thread.java:748){code}
> We are using 1.22.6 release version of OAK. Is there any resolution or support given
for this in new releases, if yes can you please suggest to avoid manual restart of applications. 
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message