You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Subu (JIRA)" <ji...@apache.org> on 2018/09/24 23:19:00 UTC

[jira] [Created] (AIRFLOW-3110) Session not committed before failure callback, but is committed before success.

Subu created AIRFLOW-3110:
-----------------------------

             Summary: Session not committed before failure callback, but is committed before success.
                 Key: AIRFLOW-3110
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3110
             Project: Apache Airflow
          Issue Type: Bug
            Reporter: Subu


Folks,

The below line ideally should have a session.commit()

[https://github.com/HanaDB/incubator-airflow/blob/master/airflow/models.py#L1815]

 

Else as of today we are not able to access the latest session information using sqlalchemy from failure callbacks.

 

I don't know if this change is safe because I lack context elsewhere -so cutting a JIRA.

 

Thanks, Subu



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