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/04/29 13:12:18 UTC
[GitHub] [airflow] abhishekbhakat commented on issue #23361: Scheduler crashes with psycopg2.errors.DeadlockDetected exception
abhishekbhakat commented on issue #23361:
URL: https://github.com/apache/airflow/issues/23361#issuecomment-1113294942
I faced the same issue with [airflow 2.3.0rc2](https://github.com/apache/airflow/tree/2.3.0rc2)
Had a basic dag added.
```py
from datetime import datetime
from airflow import DAG
from airflow.decorators import task
with DAG(dag_id="map-reduce", start_date=datetime(2022,4,22)) as dag:
@task
def add_one(x: int):
return x + 1
@task
def sum_it(values):
total = sum(values)
print (f"Total was {total}")
added_values = add_one.expand(x=[1,2,'a'])
sum_it(added_values)
added_values_correct = add_one.expand(x=[1, 2, 3])
sum_it (added_values_correct)
```
Added scheduler logs in attachments.
[logs.txt](https://github.com/apache/airflow/files/8591012/logs.txt)
--
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