You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Julian Reschke (JIRA)" <ji...@apache.org> on 2017/10/17 19:06:00 UTC
[jira] [Commented] (OAK-6839) RDBDocumentStore: queries done by GC
processes should not thrash the cache
[ https://issues.apache.org/jira/browse/OAK-6839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16208178#comment-16208178 ]
Julian Reschke commented on OAK-6839:
-------------------------------------
Unfortunately:
{noformat}
[ERROR] testIsRecoveryRequired[RDBFixture: RDB-H2(file)](org.apache.jackrabbit.oak.plugins.document.LastRevRecoveryAgentTest) Time elapsed: 0.127 s <<< FAILURE!
java.lang.AssertionError: expected:<r15f2bb69aa3-0-2> but was:<null>
at org.apache.jackrabbit.oak.plugins.document.LastRevRecoveryAgentTest.testIsRecoveryRequired(LastRevRecoveryAgentTest.java:76)
{noformat}
> RDBDocumentStore: queries done by GC processes should not thrash the cache
> --------------------------------------------------------------------------
>
> Key: OAK-6839
> URL: https://issues.apache.org/jira/browse/OAK-6839
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: rdbmk
> Reporter: Julian Reschke
> Assignee: Julian Reschke
> Labels: candidate_oak_1_0, candidate_oak_1_2, candidate_oak_1_4, candidate_oak_1_6
> Fix For: 1.8
>
> Attachments: OAK-6839.diff
>
>
> GC/bg processes that use the DocumentStore query API may thrash the cache (OAK-6806).
> This is relevant for Oak versions that do not yet use special APIs for GC, such as trunk and 1.6.
> We should avoid caching result documents when the query likely was initiated by a GC process.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)