osf.io
osf.io copied to clipboard
Calculate Storage usage on node creation [ENG-2402]
Purpose
We need to initialize storage usage on node creation. Whether this is a new node or a fork.
Changes
Adding update storage usage cache to save and forking methods. Adding tests
QA Notes
Please make verification statements inspired by your code and what your code touches.
- Verify Storage usage is available after node creation.
- Verify Storage usage is available and accurate after node forking.
What are the areas of risk?
Any concerns/considerations/questions that development raised? N/A
Documentation
N/A
Side Effects
Shouldn't be.
Ticket
https://openscience.atlassian.net/browse/ENG-2402