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 "Julian Reschke (JIRA)" <ji...@apache.org> on 2019/03/01 13:42:00 UTC
[jira] [Commented] (OAK-8089) DocumentNodeStore dispose can fail
when duration of final background ops exceeds lease time
[ https://issues.apache.org/jira/browse/OAK-8089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16781678#comment-16781678 ]
Julian Reschke commented on OAK-8089:
-------------------------------------
https://issues.apache.org/jira/secure/attachment/12960783/OAK-8089.diff
- based on [~baedke]'s patch (variable renamed, logging added)
- adds a test case
[~mreutegg] - trouble with the test case is that I couldn't get it working with a virtual clock (as the scheduling of the {{NodeStoreTask}} is based on the system clock. Any idea how to improve that?
> DocumentNodeStore dispose can fail when duration of final background ops exceeds lease time
> -------------------------------------------------------------------------------------------
>
> Key: OAK-8089
> URL: https://issues.apache.org/jira/browse/OAK-8089
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: documentmk
> Reporter: Julian Reschke
> Assignee: Julian Reschke
> Priority: Minor
> Fix For: 1.12
>
> Attachments: OAK-8089.diff, oak-8089.patch
>
>
> The problem is that {{dispose()}} let's the {{BackgroundLeaseUpdateThread}} run once.
> If the duration of the remaining operations then exceeds the lease update interval, these operations will fail with a {{DocumentStoreException}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)