xBis7 commented on issue #53154: URL: https://github.com/apache/airflow/issues/53154#issuecomment-3067884788
The scheduler check shouldn't take place if `otel` is disabled. That's an overlook on my side but it can be fixed with a config check. I agree that an index will improve performance. I'll have to take a look but I think that we are scanning entire tables for the values `SHOULD_END` and `NEEDS_CONTINUANCE`. We can create a partial index for these two values for postgres and a full index for the other db impl. > Also, this column name is confusing because it will be used even if otel is disabled. The column could also be added based on a config check. But I'm not familiar with all the possible Airflow setups and my question is, could we find ourselves in a scenario that leads to incompatibility issues? -- 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]
