[
https://issues.apache.org/jira/browse/OAK-2829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14589513#comment-14589513
]
Marcel Reutegger commented on OAK-2829:
---------------------------------------
- Reformatted the code. Some classes used tabs instead of spaces.
- Reduced the READ_CHUNK_SIZE to 100
- Kept the exception handling in backgroundRead, but now the diff cache is only
populated when reading the journal entries was successful. This means if
reading journal entries fails the diff cache is not populated and diffs must be
calculated when requested
Done in trunk: http://svn.apache.org/r1685964
> Comparing node states for external changes is too slow
> ------------------------------------------------------
>
> Key: OAK-2829
> URL: https://issues.apache.org/jira/browse/OAK-2829
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core, mongomk
> Reporter: Marcel Reutegger
> Assignee: Marcel Reutegger
> Priority: Blocker
> Labels: scalability
> Fix For: 1.3.1, 1.2.3
>
> Attachments: CompareAgainstBaseStateTest.java, OAK-2829-gc-bug.patch,
> OAK-2829-improved-doc-cache-invaliation.2.patch,
> OAK-2829-improved-doc-cache-invaliation.patch, graph-1.png, graph.png
>
>
> Comparing node states for local changes has been improved already with
> OAK-2669. But in a clustered setup generating events for external changes
> cannot make use of the introduced cache and is therefore slower. This can
> result in a growing observation queue, eventually reaching the configured
> limit. See also OAK-2683.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)