jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julian Reschke (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-8089) DocumentNodeStore dispose can fail when duration of final background ops exceeds lease time
Date Fri, 01 Mar 2019 15:00:00 GMT

    [ https://issues.apache.org/jira/browse/OAK-8089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16781746#comment-16781746
] 

Julian Reschke commented on OAK-8089:
-------------------------------------

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)

Mime
View raw message