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/08/02 07:13:14 UTC

[GitHub] [airflow] nmehraein commented on a change in pull request #17333: Regression on pid reset to allow task start after heartbeat

nmehraein commented on a change in pull request #17333:
URL: https://github.com/apache/airflow/pull/17333#discussion_r680708100



##########
File path: airflow/models/taskinstance.py
##########
@@ -1111,6 +1111,7 @@ def check_and_change_state_before_execution(
         if not test_mode:
             session.add(Log(State.RUNNING, self))
         self.state = State.RUNNING
+        self.pid = None

Review comment:
       Yes, i put it back on line where it was in 2.0 , but I'm going to push a commit to put it next to the hostname which I think is a good place too. https://github.com/apache/airflow/blob/2.0.2/airflow/models/taskinstance.py#L1076




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