Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Tar recovery currently chokes on bulk segments:
16:15:35.155 [main] WARN o.a.j.oak.segment.file.tar.TarReader - Unable to load index of file data00000a.tar: Unrecognized magic number 16:15:35.162 [main] WARN o.a.j.oak.segment.file.tar.TarReader - Could not find a valid tar index in /Users/mduerig/Downloads/l9/crx-quickstart/repository/segmentstore/data00000a.tar, recovering read-only java.lang.IllegalArgumentException: invalid segment buffer at org.apache.jackrabbit.oak.segment.data.SegmentDataLoader.newSegmentData(SegmentDataLoader.java:37) at org.apache.jackrabbit.oak.segment.data.SegmentData.newSegmentData(SegmentData.java:66) at org.apache.jackrabbit.oak.segment.file.AbstractFileStore.writeSegment(AbstractFileStore.java:212) at org.apache.jackrabbit.oak.segment.file.AbstractFileStore.access$000(AbstractFileStore.java:66) at org.apache.jackrabbit.oak.segment.file.AbstractFileStore$1.recoverEntry(AbstractFileStore.java:125) at org.apache.jackrabbit.oak.segment.file.tar.TarReader.generateTarFile(TarReader.java:213) at org.apache.jackrabbit.oak.segment.file.tar.TarReader.openRO(TarReader.java:162) at org.apache.jackrabbit.oak.segment.file.tar.TarFiles.<init>(TarFiles.java:298) at org.apache.jackrabbit.oak.segment.file.tar.TarFiles.<init>(TarFiles.java:58) at org.apache.jackrabbit.oak.segment.file.tar.TarFiles$Builder.build(TarFiles.java:167) at org.apache.jackrabbit.oak.segment.file.ReadOnlyFileStore.<init>(ReadOnlyFileStore.java:74) at org.apache.jackrabbit.oak.segment.file.FileStoreBuilder.buildReadOnly(FileStoreBuilder.java:383)
Attachments
Issue Links
- blocks
-
OAK-6687 ReadOnly connection to fresh SegmentNodeStore setup failing
- Closed