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 "Stefan Egli (JIRA)" <ji...@apache.org> on 2015/09/14 12:28:45 UTC
[jira] [Created] (OAK-3399) before declaring lease failure, as a
last resort try to update it there
Stefan Egli created OAK-3399:
--------------------------------
Summary: before declaring lease failure, as a last resort try to update it there
Key: OAK-3399
URL: https://issues.apache.org/jira/browse/OAK-3399
Project: Jackrabbit Oak
Issue Type: Improvement
Components: core
Affects Versions: 1.3.6
Reporter: Stefan Egli
Not sure if this is a good idea - but when the lease check finds out that the lease is valid for less than the margin (which is 20sec by default), it could then try to update the lease directly. The 'ugly' part of this is that normally this job is done by a dedicated background 'lease update' thread - and now it would be done in the context of a user-thread 'very much under the hood'. but the advantage would be that it would eg catch the 'laptop-sleep' situation when running a single vm ..
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)