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/01/06 12:33:58 UTC

[GitHub] [airflow] potiuk edited a comment on pull request #13278: fix dag run type enum query for mysqldb driver

potiuk edited a comment on pull request #13278:
URL: https://github.com/apache/airflow/pull/13278#issuecomment-755274008


   > Ohhh, this is only a problem for _one_ of the mysql drivers -`mysqldb`. The "default" that you get via `apache-airflow[mysql]` is `mysqlclient` which doesn't have this problem.
   > 
   > That's why I never noticed this problem, nor did the tests fail.
   
   So maybe we should fix it for this driver only + add the startup code to fix it in scheduler + workers waiting (I guess they also can change the state) to run a query fixing it before they start guarded by some flag in the DB set by the migration ('needs state fixing' ) and reset after scheduler fix is run ?  This is a one-time event only after migration.


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org