You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "mis98zb (via GitHub)" <gi...@apache.org> on 2023/08/15 10:48:00 UTC

[GitHub] [airflow] mis98zb commented on pull request #32876: enable db access for dag run listeners

mis98zb commented on PR #32876:
URL: https://github.com/apache/airflow/pull/32876#issuecomment-1678742961

   Thank you for the answer!
   
   But seems this does not work for me.
   The `@provide_session` will call submit() when the function exit, and it's inside the `@provide_session` of scheduler.
   This will cause the `UNEXPECTED COMMIT - THIS WILL BREAK HA LOCKS` exception...
   
   Maybe run the listeners inside the scheduler loop is not so good.
   If it is run as a task, that should be great...


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