wjddn279 commented on PR #56044: URL: https://github.com/apache/airflow/pull/56044#issuecomment-3489636702
@EugeneChung The root cause of the problem occurs when a connection object that lost its reference in a forked process gets garbage collected and explicitly quits the connection (only in the case of MySQL). A hacky but simplest fix is to keep the object as a key in a dictionary to explicitly maintain its reference. https://github.com/wjddn279/airflow/commit/c522ce171fe7488cf65b5878bc4286eef85b39d0 The object is added to the dictionary when it connects and removed when it closes. In my case, it works well. Please let me know if it doesn't resolve the issue for you. -- 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]
