jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davide Giannella (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (OAK-2768) Fair mode for backgroundOperationLock
Date Fri, 21 Aug 2015 12:13:59 GMT

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

Davide Giannella closed OAK-2768.
---------------------------------

Bulk close for 1.3.4

> Fair mode for backgroundOperationLock
> -------------------------------------
>
>                 Key: OAK-2768
>                 URL: https://issues.apache.org/jira/browse/OAK-2768
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core, mongomk
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>              Labels: concurrency
>             Fix For: 1.3.4
>
>         Attachments: lock time.png
>
>
> The backgroundOperationLock in DocumentNodeStore uses the default non-fair acquisition
order. According to JavaDoc of ReentrantReadWriteLock it is possible that a background operation
task gets delayed for a long time when the system is under load. We should probably consider
using the fair mode for the backgroundOperationLock to make sure background operation tasks
do not get delayed excessively.



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

Mime
View raw message