seitime-frappe/frappe/database
Ankush Menat 2dfb96f91c
fix: handle snapshot isolation errors better (#32318)
* fix: Avoid Snapshot violation

- Main thread created and "read" user
- Other thread modified something
- Main thread wants to delete or "write" to same row.

This violates snapshot isolation.

* fix: treat snapshot violation as deadlock for now

* test: handle snapshot violations
2025-04-28 06:18:38 +00:00
..
mariadb fix: handle snapshot isolation errors better (#32318) 2025-04-28 06:18:38 +00:00
postgres perf: compute query type only once 2025-03-15 13:39:57 +05:30
sqlite chore(sqlite): set connection timeout to 15 seconds and set synchronous pragma 2025-04-15 13:59:17 +05:30
__init__.py fix: support sqlite 2025-04-15 13:59:16 +05:30
database.py fix(DX): log execution time in ms 2025-04-23 22:40:23 +05:30
db_manager.py refactor: use a database file directly, instead of an SQL file 2025-04-15 13:59:16 +05:30
operator_map.py perf: optimize query building code 2025-03-15 10:29:26 +05:30
query.py feat: init sqlite 2025-04-15 13:59:16 +05:30
schema.py fix(add_column): adjust for sqlite 2025-04-15 13:59:16 +05:30
sequence.py style: re-format with ruff 2024-02-05 18:53:33 +05:30
utils.py feat: init sqlite 2025-04-15 13:59:16 +05:30