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 "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2016/11/15 09:24:58 UTC

[jira] [Commented] (OAK-2108) Killing a cluster node may stop async index update to to 30 minutes

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

Chetan Mehrotra commented on OAK-2108:
--------------------------------------

For setups involving SegmentNodeStore we can optimize this a bit by checking is repository is clustered or not. If not then we can reduce the time out. 

[~egli] any way to detect that using std means?

> 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: Thomas Mueller
>              Labels: resilience
>
> 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)