You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Ash Berlin-Taylor (JIRA)" <ji...@apache.org> on 2019/06/11 10:37:00 UTC

[jira] [Resolved] (AIRFLOW-4463) Short DAG retries lead to a divide by zero-error

     [ https://issues.apache.org/jira/browse/AIRFLOW-4463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ash Berlin-Taylor resolved AIRFLOW-4463.
----------------------------------------
    Resolution: Fixed

> Short DAG retries lead to a divide by zero-error
> ------------------------------------------------
>
>                 Key: AIRFLOW-4463
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4463
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.10.3
>            Reporter: Chris Mitchell
>            Assignee: Chris Mitchell
>            Priority: Minor
>             Fix For: 1.10.4
>
>
> A short retry interval leads to a divide by zero error. To replicate, create a DAG with a short retry interval (1 second), and eventually the following error will appear:
> ```
> Traceback (most recent call last):
> ...
>  File "/app/airflow/models/taskinstance.py", line 630, in next_retry_datetime
>  modded_hash = min_backoff + hash % min_backoff
> ZeroDivisionError: integer division or modulo by zero
> ```



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)