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)

Reply via email to