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

Alex Parvulescu updated OAK-2108:
---------------------------------
    Attachment: OAK-2108-v2.patch

[v2 patch|^OAK-2108-v2.patch] with minor improvements wrt. recovering from a 
stale lease situation (managed to add a test with this scenario). [~chetanm] 
please review!

> Killing a cluster node may stop async index update to to 30 minutes
> -------------------------------------------------------------------
>
>                 Key: OAK-2108
>                 URL: https://issues.apache.org/jira/browse/OAK-2108
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: query
>            Reporter: Thomas Mueller
>            Assignee: Chetan Mehrotra
>              Labels: resilience
>             Fix For: 1.6
>
>         Attachments: OAK-2108-v1.patch, OAK-2108-v2.patch
>
>
> When killing a cluster node that is running the sync index update, then this 
> async index update will not run for up to 15 minutes, because the lease time 
> is set to 15 minutes.
> I think the lease time should be much smaller, for example 1 minute, or maybe 
> even 10 seconds.
> Also, we might need to better document this issue (in addition to the warning 
> in the log file).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to