jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Parvulescu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OAK-2364) SegmentMK thin consistency check on startup
Date Tue, 03 Mar 2015 16:10:08 GMT

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

Alex Parvulescu updated OAK-2364:
---------------------------------
    Fix Version/s:     (was: 1.1.7)
                   1.1.8

> SegmentMK thin consistency check on startup
> -------------------------------------------
>
>                 Key: OAK-2364
>                 URL: https://issues.apache.org/jira/browse/OAK-2364
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: segmentmk
>            Reporter: Alex Parvulescu
>            Assignee: Alex Parvulescu
>              Labels: production, resilience
>             Fix For: 1.1.8
>
>
> Following OAK-2323, I'd like to add a thin consistency check on startup to verify if
the current rev is broken by some pending transaction or not.
> The current startup check behavior is too lazy and it can miss some broken repos where
the super root is only partly persisted.
> {code}
> java.lang.IllegalStateException: String is too long: 4531747125156176000
> at org.apache.jackrabbit.oak.plugins.segment.Segment.loadString(Segment.java:344)
> at org.apache.jackrabbit.oak.plugins.segment.Segment.readString(Segment.java:311)
> at org.apache.jackrabbit.oak.plugins.segment.Segment.readString(Segment.java:305)
> at org.apache.jackrabbit.oak.plugins.segment.Segment.loadTemplate(Segment.java:388)
> at org.apache.jackrabbit.oak.plugins.segment.Segment.readTemplate(Segment.java:359)
> at org.apache.jackrabbit.oak.plugins.segment.Segment.readTemplate(Segment.java:353)
> at org.apache.jackrabbit.oak.plugins.segment.SegmentNodeState.getTemplate(SegmentNodeState.java:74)
> {code}



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

Mime
View raw message