[ https://issues.apache.org/jira/browse/OAK-1497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13923092#comment-13923092 ]
Stefan Egli commented on OAK-1497: ---------------------------------- bq. If an observation listener is unable to process events at the same rate or faster than they are being generated, the system needs to queue events to keep the listener contract. .. or option 6 (persist-on-overflow), similar to what is done with slow durable subscriptions in JMS system .. Of course an observation listener should be fast enough to catch up .. but if there's a burst, what can it do .. there will/should always be enough disk space though .. > 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)