-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
Description
Description
still investigating this but we are observing thousands of deadlocks in worker cleanup calls:
blocked_pid | blocking_pid | blocked_user | blocking_user | blocking_duration | blocked_query |
blocking_query
-------------+--------------+--------------+---------------+-------------------------+-------------------------------------------------------------------+------------------
-----------------------------------------
193590 | 190674 | singularity | singularity | 3 days 13:38:47.888695 | DELETE FROM "workers" WHERE last_heartbeat < $1 | DELETE FROM "work
ers" WHERE last_heartbeat < $1
184265 | 190674 | singularity | singularity | 3 days 13:38:47.888695 | DELETE FROM "workers" WHERE last_heartbeat < $1 | DELETE FROM "work
ers" WHERE last_heartbeat < $1
216642 | 190674 | singularity | singularity | 3 days 13:38:47.888695 | DELETE FROM "workers" WHERE last_heartbeat < $1 | DELETE FROM "work
ers" WHERE last_heartbeat < $1
187480 | 190674 | singularity | singularity | 3 days 13:38:47.888695 | DELETE FROM "workers" WHERE last_heartbeat < $1 | DELETE FROM "work
ers" WHERE last_heartbeat < $1
191185 | 190674 | singularity | singularity | 3 days 13:38:47.888695 | DELETE FROM "workers" WHERE last_heartbeat < $1 | DELETE FROM "work
ers" WHERE last_heartbeat < $1
Steps to Reproduce
appears to happen when a larger number of workers is enabled, especially across multiple parent processes
Version
tbd
Operating System
Linux
Database Backend
PostgreSQL
Additional context
No response