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

Chetan Mehrotra commented on OAK-1775:
--------------------------------------

[~jukkaz] I tried to merge the revision but it showed some conflicts ... can 
you merge the changes to 1.0 branch

> Avoid lock contention in IndexTracker.getIndexNode()
> ----------------------------------------------------
>
>                 Key: OAK-1775
>                 URL: https://issues.apache.org/jira/browse/OAK-1775
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: oak-lucene
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>             Fix For: 1.1
>
>
> It turns out that the approach in OAK-1722 of keeping the 
> {{IndexTracker.getIndexNode()}} method synchronized while the more expensive 
> {{update()}} method is unsynchronized suffers from lock contention in cases 
> where lots of queries are executed concurrently. Thus we should go with 
> Chetan's original suggestion of avoiding exclusive synchronization of the 
> {{getIndexNode()}} method.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to