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 2015/11/05 11:58:27 UTC

[jira] [Commented] (OAK-3588) SegmentNodeStore allow tweaking of lock fairness

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

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

+1. 

* May be add a info log if fairness is enabled.  Sempahore has a method to determine that
* {{oak.SegmentNodeStore.commitFairLock}} -> {{oak.segmentNodeStore.commitFairLock}}

> 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
>         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)