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 2022/09/21 14:01:44 UTC

[GitHub] [airflow] ephraimbuddy commented on issue #26529: Variable.get inside of a custom Timetable breaks the Scheduler

ephraimbuddy commented on issue #26529:
URL: https://github.com/apache/airflow/issues/26529#issuecomment-1253757499

   This happens because we load timetable plugins in the scheduler process(decoding timetable during deserialization). 
   So with `Variable.get`, we are using a new session different from the scheduler session. When that new session commits, it throws an error because of the different sessions.
   It doesn't seem like a simple fix but I'm taking a look
   


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