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 "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2015/03/03 17:10:08 UTC
[jira] [Updated] (OAK-2364) SegmentMK thin consistency check on
startup
[ 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)