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

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

Potential fix: introduce a separate {{AtomicBoolean}} to handle the disposure 
of the lease update thread.

> 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
>
>
> The problem is that {{dispose()}} let's the {{BackgroundLeaseUpdateThread}} 
> 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)

Reply via email to