Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-1334

TarFile initialized with wrong maxFileSize

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.14
    • 0.15
    • segmentmk
    • None

    Description

      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.

      Attachments

        1. patch.txt
          1 kB
          Dominique Pfister

        Activity

          People

            Unassigned Unassigned
            dpfister Dominique Pfister
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: