You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/07/19 21:28:13 UTC

[GitHub] [airflow] RNHTTR commented on issue #23361: Scheduler crashes with psycopg2.errors.DeadlockDetected exception

RNHTTR commented on issue #23361:
URL: https://github.com/apache/airflow/issues/23361#issuecomment-1189568586

   I'm able to reliably force a DeadlockDetected exception by creating a DAG with many (i.e. over a hundred) concurrent tasks, setting `max_active_tasks_per_dag` to 75, setting `parallelism` to 100, triggering the DAG, waiting a couple minutes, then deleting the DAG Run. Maybe this is further evidence to @dstaple's proposed workaround limiting the lock to the `task_instance` table or at least a way to test if that workaround resolves this particular deadlock.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org