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/03/17 03:25:51 UTC
[GitHub] [airflow] bskim45 commented on issue #21072: manage_sla firing notifications for the same sla miss instances repeatedly
bskim45 commented on issue #21072:
URL: https://github.com/apache/airflow/issues/21072#issuecomment-1070181632
I'm experiencing a similar issue somewhat related to this. When the `sla` argument is provided but an SLA miss email is not sent nor `sla_miss_callback` is not specified, SlaMiss entries are piled up on the `sla_miss` table with `notification_sent=false`. This causes calling `DAGFileProcessor.manage_slas` times out for that callback processing.
quick example:
```python
with DAG(
dag_id="example_dag",
schedule_interval='@hourly',
start_date=days_ago(1),
catchup=False,
) as dag:
dummy_task = DummyOperator(
task_id='dummy_task',
sla=datetime.timedelta(hours=18),
)
```
--
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