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 2021/05/18 16:23:25 UTC

[GitHub] [airflow] turbaszek commented on a change in pull request #15923: Properly set the try_number when rescheduling

turbaszek commented on a change in pull request #15923:
URL: https://github.com/apache/airflow/pull/15923#discussion_r634552162



##########
File path: airflow/sensors/base.py
##########
@@ -220,7 +221,6 @@ def run_duration() -> float:
                 nonlocal started_at
                 return time.monotonic() - started_at
 
-        try_number = 1

Review comment:
       Have you tested it? I think there was an issue with this - for example logs in UI will be different for separate tries. cc @ashb with whom we discussed it some time ago due to #10790 




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