nicor88 edited a comment on issue #14101: URL: https://github.com/apache/airflow/issues/14101#issuecomment-774966161
@tooptoop4 Yes seems similar with AIRFLOW-6518. Point is, that with version 1.10.14 when the metastore connection was lost (and having a task retry >=1) with the 2nd or 3th retry the task was able to connect to the Metastore DB. Now, in such case the task is marked immediately as failed, without retrying at all. So for me this was fix on previous airflow versions, and seems that doesn't work anymore in 2.0.0. Also I noticed that the value of `max_db_retries` in our airflow.cfg is set to 3, so I expect at least 3 retries to connect to the DB before giving up. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
