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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16860801#comment-16860801 ] 

ASF GitHub Bot commented on AIRFLOW-4463:
-----------------------------------------

ashb commented on pull request #5243: [AIRFLOW-4463] Handle short task retry intervals
URL: https://github.com/apache/airflow/pull/5243
 
 
   
 
----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> 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)