You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Marcel Reutegger (Jira)" <ji...@apache.org> on 2020/06/04 16:08:00 UTC
[jira] [Created] (OAK-9100) oak-run recovery may fail with deadline
passed
Marcel Reutegger created OAK-9100:
-------------------------------------
Summary: oak-run recovery may fail with deadline passed
Key: OAK-9100
URL: https://issues.apache.org/jira/browse/OAK-9100
Project: Jackrabbit Oak
Issue Type: Bug
Components: documentmk
Affects Versions: 1.10.0
Reporter: Marcel Reutegger
When oak-run recovery takes more than the default lease timeout, the command will fail with the following exception:
{noformat}
Exception in thread "main" org.apache.jackrabbit.oak.plugins.document.DocumentStoreException: Cluster node 1 was unable to perform lastRev recovery for clusterId 1 within deadline: 2020-06-04 17:44:39.673
at org.apache.jackrabbit.oak.plugins.document.LastRevRecoveryAgent.recover(LastRevRecoveryAgent.java:424)
at org.apache.jackrabbit.oak.run.RecoveryCommand.execute(RecoveryCommand.java:125)
at org.apache.jackrabbit.oak.run.Main.main(Main.java:49)
{noformat}
The check was introduced with OAK-7316.
As a workaround, the system property {{oak.documentMK.leaseDurationSeconds}} can be set to a higher value (default is 120) when running the recovery command.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)