Skip to content
This repository was archived by the owner on Aug 19, 2025. It is now read-only.
This repository was archived by the owner on Aug 19, 2025. It is now read-only.

Unable to make concurrent queries with transactions #116

@LKay

Description

@LKay

Recently there was #81 resolved that enabled concurrent queries, but it only partially solves the problem. If queries are wrapped in transactions:

async with dtabase.transaction():
   ...

and executed in parallel the introduced lock doesn't work resulting in:

asyncpg.exceptions._base.InterfaceError: cannot perform operation: another operation is in progress

Metadata

Metadata

Assignees

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