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 "Dominique Pfister (JIRA)" <ji...@apache.org> on 2014/01/17 14:29:38 UTC

[jira] [Created] (OAK-1334) TarFile initialized with wrong maxFileSize

Dominique Pfister created OAK-1334:
--------------------------------------

             Summary: 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
         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)