After updating Oak a little while ago I began seeing the following error on
startup. A restart is required to resolve the issue, but it can recur, thus
needing a number of restarts.
This is making deployment and operations unreliable.
Once it occurs it appears to enter a endless loop.
This was not happening in a previous earlier version of Oak.
2017-03-06 21:37:31,274 ERROR:
org.apache.jackrabbit.oak.plugins.document.ClusterNodeInfo
- This oak instance failed to update the lease in time and can therefore no
longer access this DocumentNodeStore.
2017-03-06 21:37:31,274 WARN :
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore
- Background operation failed: org.apache.jackrabbit.oak.plug
ins.document.DocumentStoreException: This oak instance failed to update the
lease in time and can therefore no longer access this DocumentNodeStore.
org.apache.jackrabbit.oak.plugins.document.DocumentStoreException: 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:1154)
at org.apache.jackrabbit.oak.plugins.document.ClusterNodeInfo.p
erformLeaseCheck(ClusterNodeInfo.java:662)
at org.apache.jackrabbit.oak.plugins.document.util.LeaseCheckDo
cumentStoreWrapper.performLeaseCheck(LeaseCheckDocumentStoreWrapper.java:59)
at org.apache.jackrabbit.oak.plugins.document.util.LeaseCheckDo
cumentStoreWrapper.find(LeaseCheckDocumentStoreWrapper.java:72)
at org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore
.backgroundRead(DocumentNodeStore.java:1990)
at org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore
.internalRunBackgroundReadOperations(DocumentNodeStore.java:1911)
at org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore
.runBackgroundReadOperations(DocumentNodeStore.java:1895)
at org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore
$BackgroundReadOperation.execute(DocumentNodeStore.java:2872)
at org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore
$NodeStoreTask.run(DocumentNodeStore.java:2825)
at java.lang.Thread.run(Thread.java:745)