[ 
https://issues.apache.org/jira/browse/OAK-1968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marcel Reutegger closed OAK-1968.
---------------------------------


> Wrong time unit for async index lease time
> ------------------------------------------
>
>                 Key: OAK-1968
>                 URL: https://issues.apache.org/jira/browse/OAK-1968
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.0.1, 1.0.2
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>             Fix For: 1.1, 1.0.3
>
>         Attachments: OAK-1968.patch
>
>
> The JavaDoc for {{AsyncIndexUpdate.ASYNC_TIMEOUT}} says the time unit for the 
> timeout is minutes. Within the code the timeout value is rather interpreted 
> as milliseconds, which looks wrong. E.g. the new lease value is calculated as 
> {{lease = now + 2 * ASYNC_TIMEOUT}}.
> It is probably best to change the constant to reflect the timeout in 
> milliseconds.
> It looks like this issue was introduced with changes for OAK-1877 and affects 
> the 1.0.1 and 1.0.2 releases.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to