Closed carolyncole closed 3 weeks ago
Looks like we are expecting ther to be a size accumulator, but we should be able to get the size out of the quota. And Chuck is not creating a size accumulator. And the quota is added during the collection create and we are creating the quota separately.
Turns out the user had no access to the accumulators. But it did surface that we have two numbers that currently exist in the system for Storage used, the active data (Current files) and residual data (Old versions, items that are soft deleted, ect.)
We want to show the user both numbers inthe format Storage Usage 30 MB / 10 GB active data: 5.29 MB residual data: 24.71 MB
This means the page will change from showing only active data to showing quota usage (active & residual from the quota), active data (from the size accumulator), and residual data (quota - size accululator)
Expected behavior
On https://tigerdata-staging.princeton.edu/projects/34184/contents the file count and Quota amount used are not showing. Amount of Quota is showing.
The asset was created by Chuck with the script below (or something similar).
It is possible that we are not parsing the quota correctly, or creating our quotas in the same way as Chuck.
Additionally the file count should be showing, but is not