Skip to content

clp-s: Reported uncompressed size can be incorrect after archive-splitting #469

@gibber9809

Description

@gibber9809

Bug

In clp-s when an archive split happens while JsonFileIterator is partway through a buffer full of JSON data the full size of the buffer can be attributed to the total size of the first archive instead of being split correctly between the archives before and after the split.

CLP version

v0.1.1

Environment

ubuntu focal container

Reproduction steps

  1. Compress a two line archive using an archive split threshold of 1 byte
  2. Observe that the size of the second archive is reported as 0 bytes

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions