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

Jukka Zitting updated OAK-1775:
-------------------------------

    Fix Version/s: 1.0.1

Merged to the 1.0 branch in revision 1602316.

> 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.0.1, 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