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 2016/07/04 15:31:11 UTC

[jira] [Comment Edited] (OAK-4476) Option to check datastore consistency in oak-run

    [ https://issues.apache.org/jira/browse/OAK-4476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15361469#comment-15361469 ] 

Julian Reschke edited comment on OAK-4476 at 7/4/16 3:30 PM:
-------------------------------------------------------------

The new test consistently fails for me:

{noformat}
testConsistency(org.apache.jackrabbit.oak.run.DataStoreCheckTest)  Time elapsed: 0.3 sec  <<< FAILURE!
java.lang.AssertionError
        at org.junit.Assert.fail(Assert.java:86)
        at org.junit.Assert.assertTrue(Assert.java:41)
        at org.junit.Assert.assertTrue(Assert.java:52)
        at org.apache.jackrabbit.oak.run.DataStoreCheckTest.assertFileEquals(DataStoreCheckTest.java:218)
        at org.apache.jackrabbit.oak.run.DataStoreCheckTest.testConsistency(DataStoreCheckTest.java:153)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
{noformat}


was (Author: reschke):
The new test consistently fails for me:

{noformat}
testConsistency(org.apache.jackrabbit.oak.run.DataStoreCheckTest)  Time elapsed: 0.3 sec  <<< FAILURE!
java.lang.AssertionError
        at org.junit.Assert.fail(Assert.java:86)
        at org.junit.Assert.assertTrue(Assert.java:41)
        at org.junit.Assert.assertTrue(Assert.java:52)
        at org.apache.jackrabbit.oak.run.DataStoreCheckTest.assertFileEquals(DataStoreCheckTest.java:218)
        at org.apache.jackrabbit.oak.run.DataStoreCheckTest.testConsistency(DataStoreCheckTest.java:153)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)


> Option to check datastore consistency in oak-run
> ------------------------------------------------
>
>                 Key: OAK-4476
>                 URL: https://issues.apache.org/jira/browse/OAK-4476
>             Project: Jackrabbit Oak
>          Issue Type: New Feature
>          Components: run
>            Reporter: Amit Jain
>            Assignee: Amit Jain
>              Labels: candidate_oak_1_2, candidate_oak_1_4
>             Fix For: 1.5.5
>
>
> Add an option to check data store consistency in oak-run. Along with the consistency check it makes sense to have the option to dump all blob ids and/or all the blob references available.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)