potiuk commented on issue #24247:
URL: https://github.com/apache/airflow/issues/24247#issuecomment-1147383055

   I tihnk the important thing is WHY the missing index is there. I think it 
would be great to find out why the indexes are missing in your 2.2.5 schema on 
MariaDB.
   
   Is it possible to run initialization on MariaDB and see if the indexes are 
missing there too?
   
   It is in a way good that we expect that indexes are there to be dropped. 
They are supposed to be there. I think this cannot be solved by just checking 
for missing indexes. If there are other problems just checking for stuff before 
dropping them is not enough. I think we need to get to the bottom of "why the 
schema in 2.2.5 you have is different than what Airflow migration scripts 
expect @Mottimo . Maybe the fact that MariaDB is used caused it, or maybe some 
earlier migration scripts were brokent in-the-middle and not completed or 
re-run? 


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

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to