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

Chetan Mehrotra updated OAK-4881:
---------------------------------
    Attachment: OAK-4881-v1.patch

[patch|^OAK-4881-v1.patch] for the same

[~mduerig] [~alex.parvulescu] Would it be fine to apply this patch and make 
this change?

> Make merge semaphore in SegmentNodeStore fair by default
> --------------------------------------------------------
>
>                 Key: OAK-4881
>                 URL: https://issues.apache.org/jira/browse/OAK-4881
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: segment-tar, segmentmk
>            Reporter: Chetan Mehrotra
>              Labels: candidate_oak_1_0, candidate_oak_1_2, candidate_oak_1_4
>             Fix For: 1.6
>
>         Attachments: OAK-4881-v1.patch
>
>
> Currently the merge semaphore in SegmentNodeStore is by default non fair. 
> OAK-3588 provided a config option to make it fair.
> We should change the default to fair so as to ensure writer threads never get 
> starved. 
> Eventually this change would need to be backported to branches. Further going 
> forward OAK-4122 would replace the lock



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

Reply via email to