jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-1563) Data Store: UTFDataFormatException when using large minRecordLength
Date Mon, 05 May 2008 09:18:55 GMT

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

Jukka Zitting updated JCR-1563:
-------------------------------

    Fix Version/s:     (was: core 1.4.4)
                   1.5

I'd rather not have this in 1.4.4 as the fix is non-trivial and there's a reasonably simple
workaround for 1.4.

If there's demand we could include this in a 1.4.5 once people have had a chance to try this
out in trunk.

> Data Store: UTFDataFormatException when using large minRecordLength
> -------------------------------------------------------------------
>
>                 Key: JCR-1563
>                 URL: https://issues.apache.org/jira/browse/JCR-1563
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 1.4
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>            Priority: Minor
>             Fix For: 1.5
>
>         Attachments: maximumMinRecordLength.txt
>
>
> If using a value larger than 33000 for minRecordLength, and then trying to store a value
with 33000 bytes, the following exception is thrown: UTFDataFormatException. The reason is
that values are serialized using DataOutputStream.writeUTF. There is size limitation of 65
K when using this method. Small entries are hex encoded, and there is a prefix, so the limitation
for minRecordLength should be 32000.
> This is a problem for both FileDataStore and DbDataStore.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message