Have a single source of truth model for storages #2767
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
priority/important-longterm
Important over the long term, but may not be staffed and/or may need multiple releases to complete.
sig/stack-guidance
Categorizes an issue or PR as relevant to SIG Stack Guidance.
Problem statement
As a Thoth developer, I'm frustrated when I need to delete data and "manually" sync between S3 and SQL.
High-level Goals
We should reference Object Storage (S3) inside SQL (alchemy models) and not interact directly with it.
Proposal description
Use something like sqlalchemy-file (#2691 )
Alternatives
N/A
Additional context
Born from frustation trying to work on Feature: support for async deletion of a package index #2657
We use S3 as some kind of FS storage (using object names to distinguish classes of objects), see all child Classes of ResultStorageBase) which IMO is an antipattern.
Acceptance Criteria
TBD
The text was updated successfully, but these errors were encountered: