Skip to content
This repository was archived by the owner on Dec 31, 2021. It is now read-only.
This repository was archived by the owner on Dec 31, 2021. It is now read-only.

Database doesn't unlock when DVCS Error raised #132

@ksurya

Description

@ksurya

If for some strange reasons, scipy_central.filestorage.dvsc_wrapper.DVCRepo.run_dvcs_command() don't properly execute either by raising exception or does not respond while submitting an entry, submissions are still stored in database! For this we need to have TransactionMiddleware.

But upon adding Transaction Middleware, if DVCS Error is raised, database doesn't get unlocked. The server has to be restarted again..

Update: PostgreSQL seems to handle this database lock! Probably, concurrency problem with Sqlite.
However we need to optimize this feature

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions