Skip to content

Invalid State of Timeseries Table breaks Run deletion #216

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
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions