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] [Resolved] (OAK-1497) JackrabbitEvent#isExternal() returns true for internal changes for slow listeners
Date Wed, 12 Mar 2014 11:51:50 GMT

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

Michael Dürig resolved OAK-1497.
--------------------------------

    Resolution: Fixed

Fixed at http://svn.apache.org/r1576702.

With this fix the size of the revision queue is now configurable. Using very large sizes emulates
Jackrabbit 2 compatibility as Jukka mentioned. Additionally the {{CommitRateLimiter}} commit
hook could be used to disallow local commits when the queue becomes full until the queue is
emptied again.

> 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