jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Commented] (OAK-1497) JackrabbitEvent#isExternal() returns true for internal changes for slow listeners
Date Wed, 12 Mar 2014 16:17:43 GMT

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

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

Yes it will do that if configured to do so. Deployments need to take the decision if the want
that however. See e.g. {{org.apache.jackrabbit.oak.jcr.osgi.RepositoryManager}}.

> JackrabbitEvent#isExternal() returns true for internal changes for slow listeners
> ---------------------------------------------------------------------------------
>
>                 Key: OAK-1497
>                 URL: https://issues.apache.org/jira/browse/OAK-1497
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: jcr
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>             Fix For: 0.19
>
>
> Oak degrades gracefully for observation listeners that can't keep up with the rate of
observation events fired. See {{BackgroundObserver#contentChanged}} for the gory details.

> As a side effect {{JackrabbitEvent#isExternal}} will always return {{true}} when this
degradation happens. However there is currently no way for clients to detect this and to thus
know whether the result of {{JackrabbitEvent#isExternal}} is reliable or not. 



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

Mime
View raw message