You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/04/22 23:42:16 UTC

[GitHub] [airflow] uranusjr commented on issue #15496: InvalidatePoolError

uranusjr commented on issue #15496:
URL: https://github.com/apache/airflow/issues/15496#issuecomment-825270133


   SQLAlchemy [already retries twice](https://github.com/zzzeek/sqlalchemy/blob/71ea06c958cd9f105ef0a9ae0621a75a8619421a/lib/sqlalchemy/pool/base.py#L782), and only bubbles up `InvalidatePoolError` (and `DisconnectionError` in general, which is a parent class) when that runs out. But still, some kind of back-off retry may be useful, especially since (if I understand the implementation correctly) SQLAlchemy retries the connection in quick succession, which I’m not sure is very useful.


-- 
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:
users@infra.apache.org