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/04/27 12:58:04 UTC
[jira] [Comment Edited] (OAK-4390) DocumentStoreStatsIT.update
fails when RDB's append mode is disabled
[ https://issues.apache.org/jira/browse/OAK-4390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15874625#comment-15874625 ]
Julian Reschke edited comment on OAK-4390 at 4/27/17 12:57 PM:
---------------------------------------------------------------
trunk: [r1783773|http://svn.apache.org/r1783773]
1.6: [r1792877|http://svn.apache.org/r1792877]
was (Author: reschke):
trunk: [r1783773|http://svn.apache.org/r1783773]
> DocumentStoreStatsIT.update fails when RDB's append mode is disabled
> --------------------------------------------------------------------
>
> Key: OAK-4390
> URL: https://issues.apache.org/jira/browse/OAK-4390
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: rdbmk
> Affects Versions: 1.4.13, 1.6.0
> Reporter: Julian Reschke
> Assignee: Julian Reschke
> Labels: candidate_oak_1_4
> Fix For: 1.7.0, 1.8, 1.6.2
>
> Attachments: OAK-4390.diff
>
>
> When run with {{-Dorg.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.NOAPPEND=true}} (see OAK-4389):
> {noformat}
> update[RDBFixture: RDB-Postgres](org.apache.jackrabbit.oak.plugins.document.DocumentStoreStatsIT) Time elapsed: 0.008 sec <<< FAILURE!
> Wanted but not invoked:
> documentStoreStatsCollector.doneUpdate(
> <any>,
> nodes,
> 2
> );
> -> at org.apache.jackrabbit.oak.plugins.document.DocumentStoreStatsIT.update(DocumentStoreStatsIT.java:128)
> However, there were other interactions with this mock:
> documentStoreStatsCollector.doneCreate(
> 1747821,
> nodes,
> [update[RDBFixture: RDB-Postgres]],
> true
> );
> -> at org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.internalCreate(RDBDocumentStore.java:1182)
> documentStoreStatsCollector.doneFindUncached(
> 845900,
> nodes,
> "update[RDBFixture: RDB-Postgres]-478ebbb3-cb70-409d-af13-f1b2c11c4103",
> false,
> false
> );
> -> at org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.readDocumentUncached(RDBDocumentStore.java:1484)
> documentStoreStatsCollector.doneFindCached(
> nodes,
> "update[RDBFixture: RDB-Postgres]"
> );
> -> at org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.readDocumentCached(RDBDocumentStore.java:1093)
> documentStoreStatsCollector.doneFindAndModify(
> 1521593,
> nodes,
> "update[RDBFixture: RDB-Postgres]",
> false,
> true,
> -1
> );
> -> at org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.internalUpdate(RDBDocumentStore.java:1299)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)