[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=16245899#comment-16245899 ] Julian Reschke commented on OAK-6839: - trunk: [r1812739|http://svn.apache.org/r1812739] 1.6: [r1814740|http://svn.apache.org/r1814740] > 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 > Fix For: 1.8, 1.7.10, 1.6.7 > > Attachments: OAK-6839-2.diff, 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)
[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=16212570#comment-16212570 ] Julian Reschke commented on OAK-6839: - trunk: [r1812739|http://svn.apache.org/r1812739] > 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, 1.7.10 > > Attachments: OAK-6839-2.diff, 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)
[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: but was: 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)