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) 
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:
[email protected]


Reply via email to