Database life cycle management #22
Labels
flag: good 1st issue
Good for newcomers
priority: low
Low priority
type: maintenance
Related to general repository maintenance
workload: hours
Likely takes hours to resolve
Is your feature request related to a problem? Please describe.
Currently data is stored in the database indefinitely. But depending on the use case, this may not always be desired by a given user/administrator. Users/admins thus should have the option to clean up the database, and relevant parameters should be configurable.
Describe the solution you'd like
Implement a service that periodically checks records in database collections and deletes records that are too old. Alternatively, or in addition, old records exceeding a specified limit of records are automatically deleted upon given operations (such as a
POST
request to the/runs
API endpoint). Add relevant parameters (periodicity of checks/delete operations, maximum number and/or maximum age of records etc.) to config fileapp/config.yaml
.Describe alternatives you've considered
None, at this point.
Additional context
Not applicable.
The text was updated successfully, but these errors were encountered: