[ https://issues.apache.org/jira/browse/OAK-6428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrei Dulceanu updated OAK-6428: --------------------------------- Attachment: OAK-6428.patch I attached a patch implementing this change. Still unsure about the best name for the flag. [~mduerig], could you review the patch, please? > 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.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)