I have daily ingest pipeline as production runs on Cloud Composer, the code is unchanged for a while. One day there is one error that raised from database_health.py which is
after that, in Log Explorer their are following errors from "airflow-scheduler" and "airflow-worker" that have the same errors text as above like "server closed connection unexpectedly"
and i think it happen between "PSC endpoint" and "airflow database " on tenant project
I want to know how to deal with this issue, it maybe happen occasionally but the customer are really concern with this problem.
Sincerely, Chanan
An unknown problem with a connection to the Airflow database, where the server closed the connection unexpectedly, is an issue that can occur in Cloud Composer. This error can be caused by several factors, including:
To troubleshoot this issue, you can:
Impact on Production Pipelines: If this error occurs in production, your Airflow pipelines might be interrupted. You may need to manually restart your pipelines once resolved.
Prevention: To prevent recurrence:
Additional Tips: