Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
[AIRFLOW-2861] Added index on log table #3709
Make sure you have checked all steps below.
@Fokko I think I might be missing something, could you please correct me why we need to do database migration? If you're talking about in existing configuration, then an index statement needs to be applied directly to metadata and if configuration is new, it will consider one mentioned in models.py
Additionally, could you please help in knowing why checks have been failed? It seems to be stopped, Can I recheck it?
@vardancse , you need to add an alemic migration script for index change(e.g https://github.com/apache/incubator-airflow/blob/master/airflow/migrations/versions/211e584da130_add_ti_state_index.py)
@@ Coverage Diff @@ ## master #3709 +/- ## ========================================== - Coverage 77.56% 77.56% -0.01% ========================================== Files 204 204 Lines 15766 15767 +1 ========================================== Hits 12229 12229 - Misses 3537 3538 +1