jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Updated] (OAK-2881) ConsistencyChecker#checkConsistency can't cope with inconsistent journal
Date Mon, 27 Jul 2015 08:22:04 GMT

     [ https://issues.apache.org/jira/browse/OAK-2881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael Dürig updated OAK-2881:
-------------------------------
    Fix Version/s:     (was: 1.3.4)
                   1.3.5

> 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: run
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>              Labels: resilience, tooling
>             Fix For: 1.3.5
>
>
> 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)

Mime
View raw message