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 "Michael Dürig (JIRA)" <ji...@apache.org> on 2015/05/18 12:02:00 UTC

[jira] [Created] (OAK-2881) ConsistencyChecker#checkConsistency can't cope with inconsistent journal

Michael Dürig created OAK-2881:
----------------------------------

             Summary: ConsistencyChecker#checkConsistency can't cope with inconsistent journal
                 Key: OAK-2881
                 URL: https://issues.apache.org/jira/browse/OAK-2881
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: core
            Reporter: Michael Dürig
             Fix For: 1.3.0


When running the consistency checker against a repository with a corrupt journal, it fails with an {{ISA}} instead of trying to skip over invalid revision identifiers:

{noformat}
Exception in thread "main" java.lang.IllegalArgumentException: Bad record identifier: foobar
at org.apache.jackrabbit.oak.plugins.segment.RecordId.fromString(RecordId.java:57)
at org.apache.jackrabbit.oak.plugins.segment.file.FileStore.<init>(FileStore.java:227)
at org.apache.jackrabbit.oak.plugins.segment.file.FileStore.<init>(FileStore.java:178)
at org.apache.jackrabbit.oak.plugins.segment.file.FileStore.<init>(FileStore.java:156)
at org.apache.jackrabbit.oak.plugins.segment.file.FileStore.<init>(FileStore.java:166)
at org.apache.jackrabbit.oak.plugins.segment.file.FileStore$ReadOnlyStore.<init>(FileStore.java:805)
at org.apache.jackrabbit.oak.plugins.segment.file.tooling.ConsistencyChecker.<init>(ConsistencyChecker.java:108)
at org.apache.jackrabbit.oak.plugins.segment.file.tooling.ConsistencyChecker.checkConsistency(ConsistencyChecker.java:70)
at org.apache.jackrabbit.oak.run.Main.check(Main.java:701)
at org.apache.jackrabbit.oak.run.Main.main(Main.java:158)
{noformat}





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