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

Alex Parvulescu commented on OAK-3588:
--------------------------------------

To enable set the system property {{oak.segmentNodeStore.commitFairLock}} to 
{{true}}
if enabled the {{SegmentNodeStore}} will log the following at info level:
bq. initializing SegmentNodeStore with the commitFairLock option enabled.

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

Reply via email to