Skip to content

Allow deletion of older runs' records for scheduled reconciliation tasks #157

@jiawen-tw

Description

@jiawen-tw

Context / Goal

For each reconciliation run, it will generate many reconciliation run records inside the database. Specifically, the reconciliation_record table will have as many rows as there are migration keys in the dataset.

With each new reconciliation run, the older runs' results also becomes less meaningful and are less likely to be accessed by user.

For regularly scheduled runs, this would accumulate a large amount of data laying around in the database which can incur significant fees overtime.

Expected Outcome

  • Provide a configuration to the @scheduled reconciliation task to allow users to deletes runs older than X regardless of dataset

Out of Scope

Additional context / implementation notes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions