[
https://issues.apache.org/jira/browse/OAK-3118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14631033#comment-14631033
]
Francesco Mari commented on OAK-3118:
-------------------------------------
This behaviour changed recently because of OAK-3105, which in turn was a fix
for OAK-1842. I also proposed an additional patch to cope with long blob IDs in
OAK-3107.
> Strange error message when using FileDataStore with minRecordLength=1m
> ----------------------------------------------------------------------
>
> Key: OAK-3118
> URL: https://issues.apache.org/jira/browse/OAK-3118
> Project: Jackrabbit Oak
> Issue Type: Bug
> Reporter: Thomas Mueller
>
> If the FileDataStore is used, and configured to use a very large
> minRecordLength, for example 10000000, Oak fails with a strange exception:
> {noformat}
> Caused by: java.lang.IllegalArgumentException: null
> at
> com.google.common.base.Preconditions.checkArgument(Preconditions.java:77)
> at
> org.apache.jackrabbit.oak.plugins.segment.SegmentWriter.writeValueRecord(SegmentWriter.java:598)
> at
> org.apache.jackrabbit.oak.plugins.segment.SegmentWriter.internalWriteStream(SegmentWriter.java:835)
> at
> org.apache.jackrabbit.oak.plugins.segment.SegmentWriter.writeStream(SegmentWriter.java:813)
> at
> org.apache.jackrabbit.oak.plugins.segment.SegmentNodeBuilder.createBlob(SegmentNodeBuilder.java:116)
> at
> org.apache.jackrabbit.oak.plugins.index.lucene.OakDirectory$OakIndexFile.flushBlob(OakDirectory.java:229)
> {noformat}
> The exception message should be better.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)