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