jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chetan Mehrotra (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-3588) SegmentNodeStore allow tweaking of lock fairness
Date Tue, 04 Oct 2016 05:00:32 GMT

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

Chetan Mehrotra commented on OAK-3588:
--------------------------------------

[~mduerig] [~alex.parvulescu] I think we should make the lock fair (at minimum on trunk) and
see how systems work for next 1-2 release and then see if this change (enabling this by default)
is safe to backport

> SegmentNodeStore allow tweaking of lock fairness
> ------------------------------------------------
>
>                 Key: OAK-3588
>                 URL: https://issues.apache.org/jira/browse/OAK-3588
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: segmentmk
>            Reporter: Alex Parvulescu
>            Assignee: Alex Parvulescu
>             Fix For: 1.4, 1.3.10, 1.2.8, 1.0.24
>
>         Attachments: OAK-3588.patch
>
>
> This will expose the merge semaphores's fairness policy as the semaphore is currently
configured as _NonfairSync_ (default value).
> Opening this option will be beneficial in collecting more stats around thread starvation
and what the best policy is (fair vs non fair).



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

Mime
View raw message