[
https://issues.apache.org/jira/browse/OAK-156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13411593#comment-13411593
]
Michael Dürig commented on OAK-156:
-----------------------------------
Turns out that synchronising on the {{Root}} instance in {{SessionDelegate}} is
not enough. In order to make this work we need to synchronise virtually every
method which accesses the tree in order to not see a partially refreshed tree.
Doesn't sound like a good solution to me...
> Observation events need Session.refresh
> ---------------------------------------
>
> Key: OAK-156
> URL: https://issues.apache.org/jira/browse/OAK-156
> Project: Jackrabbit Oak
> Issue Type: Sub-task
> Reporter: Michael Dürig
> Assignee: Michael Dürig
> Fix For: 0.4
>
>
> The observation design from OAK-144 does not deliver events from revisions
> which are ahead of the revision on which the current session is based. A call
> to session.refresh or session.save will cause such events to be dispatched.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira