Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
None
-
None
Description
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.
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)
Attachments
Issue Links
- relates to
-
OAK-2323 SegmentMK consistency check
- Closed