Skip to content

Invalid State of Timeseries Table breaks Run deletion #216

@meksor

Description

@meksor

When losing connection to the database before .delete_orphans() is called when deleting a run, the database may end up in a state causing ixmp4 to not call delete_orphans again and sqlalchemy trying to remedy left over ts records by updating run__id to NULL (which results in a NOT NULL violation).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions