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 15:12:00 UTC

[jira] [Comment Edited] (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=16781746#comment-16781746 ] 

Julian Reschke edited comment on OAK-8089 at 3/1/19 3:11 PM:
-------------------------------------------------------------

Unfortunately this breaks {{BaseDocumentDiscoveryLiteServiceTest}} which tests shutdown using reflection. Patch is in the works.

EDIT: done, see 


was (Author: reschke):
Unfortunately this breaks {{BaseDocumentDiscoveryLiteServiceTest}} which tests shutdown using reflection. Patch is in the works.

> 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)