Project

General

Profile

Task #6205

Review encapsulation of SQLAlchemy and Psycopg2 DBALs

Added by Jan Mach 3 months ago. Updated 1 day ago.

Status:
New
Priority:
Normal
Assignee:
Category:
Development - Core
Target version:
Start date:
01/24/2020
Due date:
% Done:

0%

Estimated time:
To be discussed:
No

Description

Working on issue #4251 revealed, that the SQLAlchemy and/or Psycopg2 DBALs may not be optimally used within the project. For example cursors or sessions my be abused in a way that goes against best practices, which can cause troubles like those in #4251, because sessions/transaction can get stuck.

It would be wise to review current implementation.


Related issues

Related to Mentat - Bug #4251: User data access through SQLAlchemy keeps a transaction openClosed08/09/2018

History

#1 Updated by Jan Mach 3 months ago

  • Related to Bug #4251: User data access through SQLAlchemy keeps a transaction open added

#2 Updated by Jan Mach 1 day ago

  • Target version changed from 2.7 to 2.8

Also available in: Atom PDF