Skip to content

Updating number of files/size of dataset when creating datablocks leads to double counting #2250

@omkar-ethz

Description

@omkar-ethz

Summary

When creating origDatablocks, the dataset's size and numberOfFiles are updated (code).
The dataset's size / number of files should be the sum of its origDataBlocks files - this part works as expected.

During archiving,datablocks are created. However, the dataset size is updated again (code). This leads to double counting the number of files and false increase in size.

Steps to Reproduce

Current Behaviour

Expected Behaviour

Only update packedSize and numberOfFiles archived while creating datablocks

Details

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions