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 "Andrei Dulceanu (JIRA)" <ji...@apache.org> on 2017/07/06 10:27:00 UTC

[jira] [Resolved] (OAK-6428) Add flag for controlling percentile of commit time used in scheduler

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

Andrei Dulceanu resolved OAK-6428.
----------------------------------
    Resolution: Fixed

Fixed at r1801015. 
[~mduerig], thanks for reviewing the patch!

> Add flag for controlling percentile of commit time used in scheduler
> --------------------------------------------------------------------
>
>                 Key: OAK-6428
>                 URL: https://issues.apache.org/jira/browse/OAK-6428
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: segment-tar
>            Reporter: Andrei Dulceanu
>            Assignee: Andrei Dulceanu
>            Priority: Minor
>              Labels: Performance, scalability
>             Fix For: 1.8, 1.7.4
>
>         Attachments: OAK-6428-02.patch, OAK-6428.patch
>
>
> In OAK-4732 the 50th percentile of the last 1000 commits is used as wait time before returning the current root. In order to parametrise the value of the percentile, it would be nice to have a new feature flag, e.g. {{oak.scheduler.head.lockWaitPercentile}}. Setting it to {{0}} would basically disable this. Setting it to a different value might be interesting in future experiments.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)