clowder-framework / clowder

A data management system that allows users to share, annotate, organize and analyze large collections of datasets. It provides support for extensible metadata annotation using JSON-LD and a distribute analytics event bus for automatic curation of uploaded data.
https://clowderframework.org/
University of Illinois/NCSA Open Source License
34 stars 17 forks source link

migration to count files and bytes in space was wrong #366

Open robkooper opened 2 years ago

robkooper commented 2 years ago

Describe the bug The migration that would update the filecount and bytecount introduced in 1.19.0 would only count the bytes and files in the root folder of a dataset, not all of the subfolders. Any updates to the space afterwards (including in subfolders) were counted correctly.