Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: daf_butler
-
Story Points:4
-
Epic Link:
-
Team:Data Release Production
Description
Move registry code involving datasets (and, as needed, runs and collections) into helper classes as the prototype. If possible, defer actually moving from monolithic to split dataset tables to DM-21766.
Attachments
Issue Links
- blocks
-
DM-21766 Add per-dataset-type tables to Registry
- Done
-
DM-24432 Add CALIBRATION collections and remove the calibration_label dimension
- Done
-
DM-24612 Add indexes to dataset_collection tables
- Done
-
DM-24614 Move dataset_location tables into manager/storage hierarchy
- Done
-
DM-21794 Add origin component to all autoincrement data IDs in Registry
- Invalid
- is contained by
-
DM-21231 Refactor Registry handling of dataset and associated tables
- Done
Activity
Labels | gen3-middleware | gen2-deprecation-blocker gen3-middleware |
Status | To Do [ 10001 ] | In Progress [ 3 ] |
Description |
Following the pattern established in This should include different subclasses for: * the current monolothic (one dataset table) approach * a hybrid with both a thin table for all datasets and wider tables (with dimension links) for each dataset type * (at prototype level) a chain of nested instances, for use with multi-user registries An important question is whether the new classes should: # just use SQLAlchemy objects directly, given them a one-way composition relationship with Registry, but no way for Registry subclasses to specialize database operations; # have a back-pointer to their Registry, and delegate to it for all low-level database operations. {{DimensionRecordStorage}} currently does (1), but (2) would work better with the new insert-with-conflict-resolution method added on |
Move registry code involving datasets (and, as needed, runs and collections) into helper classes as [the prototype|per https://confluence.lsstcorp.org/display/DM/Architectural+Prototype+for+the+New+Gen3+Registry]. If possible, defer actually moving from monolithic to split dataset tables to |
Story Points | 8 | 4 |
Labels | gen2-deprecation-blocker gen3-middleware | gen2-deprecation-blocker gen3-middleware gen3-registry-incompatibility |
Description |
Move registry code involving datasets (and, as needed, runs and collections) into helper classes as [the prototype|per https://confluence.lsstcorp.org/display/DM/Architectural+Prototype+for+the+New+Gen3+Registry]. If possible, defer actually moving from monolithic to split dataset tables to |
Move registry code involving datasets (and, as needed, runs and collections) into helper classes as [the prototype|https://confluence.lsstcorp.org/display/DM/Architectural+Prototype+for+the+New+Gen3+Registry]. If possible, defer actually moving from monolithic to split dataset tables to |
Reviewers | Andy Salnikov [ salnikov ] | |
Status | In Progress [ 3 ] | In Review [ 10004 ] |
Status | In Review [ 10004 ] | Reviewed [ 10101 ] |
Resolution | Done [ 10000 ] | |
Status | Reviewed [ 10101 ] | Done [ 10002 ] |
Restarting work on this now. I currently plan to do
DM-21766on the same branch (except they'll actually be per-sets-of-dimensions tables, not per-dataset-type), but notDM-21794orDM-24432(which currently seem no harder to do later).