Explore options for new storage entities
With the new entities in place, there is still some refinement to them which needs to be done.
Bag
Should we add back in the size/files fields? These would then serve as the authoritative source for this information, and we can use the StagingStorage model for other things.
StagingStorage
Field name for total_files -> should we shorten it to just files? Maybe num_files? If we add the fields back into the Bag data structure, those will serve as the authoritative totals for the Bag, whereas what the StagingStorage entity has is what is currently on disk.
StorageRegion
- Is the DataType necessary? We will be declaring most of the StorageRegions in config files anyways, so intake/ingest/replication services will know how to differentiate based on what they read in.
- DB Migration to create storage regions (V1_6_01): Should we only create a single StorageRegion? This follows along with the previous item in that we need the DataType to differentiate between the initial StorageRegions for bags and tokens. Still some discussion which should occur around this.