spoutnickgp opened a new pull request #18092: URL: https://github.com/apache/airflow/pull/18092
This solves a potential rare occurrence of a process deadlock when using logs serving. If the scheduler, for any reason, were to encounter an unrecoverable error (such as a loss of connectivity to the database, or anything forcing the process to exit), the serve_logs subprocess would not be properly terminated. Thus, the process hangs instead of gracefully shutting down, thus requiring external restart. By ensuring the `.terminate()` function is _always_ called in case of a failure, the parent process can properly shut itself down. -- 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]
