| error_text |
Local finalize cleanup failed: (psycopg2.errors.DeadlockDetected) deadlock detected
DETAIL: Process 31112 waits for ShareLock on transaction 1573322852; blocked by process 31215.
Process 31215 waits for ShareLock on transaction 1573322785; blocked by process 31112.
HINT: See server log for query details.
CONTEXT: while deleting tuple (24746,1) in relation "product"
[SQL: DELETE FROM product WHERE product.market_id = %(market_id_1)s AND NOT (EXISTS (SELECT 1
FROM sitemap
WHERE sitemap.market_id = product.market_id AND sitemap.remote_code = product.remote_code))]
[parameters: {'market_id_1': 65}]
(Background on this error at: https://sqlalche.me/e/20/e3q8) |