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

Michael Dürig commented on OAK-1332:
------------------------------------

A further issue that came up is that multiple listeners on the same session all 
share the same {{NamePathMapper}}, {{PermissionProvider}} and probably other 
session related entities. This leads to concurrent (read) access on that 
session while the observation events are dispatched. Assuming multiple 
listeners on the same sessions are not common, this is not a problem. But 
otherwise this can easily lead to lock contention in various parts of the code. 

As [~jukkaz] mentioned to me in a private communication he has ideas for 
addressing this. 

> Large number of changes to the same node can fill observation queue
> -------------------------------------------------------------------
>
>                 Key: OAK-1332
>                 URL: https://issues.apache.org/jira/browse/OAK-1332
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>            Priority: Minor
>             Fix For: 0.16
>
>
> Changing, adding or removing a lot of (10'000s or more) direct children of 
> node with on save() might cause observation queues to fill up. 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to