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 2014/01/20 15:49:21 UTC
[jira] [Resolved] (OAK-1334) TarFile initialized with wrong
maxFileSize
[ https://issues.apache.org/jira/browse/OAK-1334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Parvulescu resolved OAK-1334.
----------------------------------
Resolution: Fixed
Fix Version/s: 0.15
good catch, thanks for the patch!
fixed with rev http://svn.apache.org/r1559714
> TarFile initialized with wrong maxFileSize
> ------------------------------------------
>
> Key: OAK-1334
> URL: https://issues.apache.org/jira/browse/OAK-1334
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: segmentmk
> Affects Versions: 0.14
> Reporter: Dominique Pfister
> Fix For: 0.15
>
> Attachments: patch.txt
>
>
> I think I found a bug in the way the FileStore initializes the TarFiles: the FileStore is initialized with a MB value (e.g. 256), and then calculates the actual byte size. However, it then still passes the MB value to the TarFile constructor, which doesn't convert MB to bytes.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)