Conversation
This hopefully prevents the situation in which an unusable (e.g. closed) connection is returned to the pool, causing the next client in queue fail to execute its query. The expectation is, by propagating the `DBConnection.ConnectionError` we'll make it caught by DBConnection and the broken connection will be removed from the pool.
|
👋 I will need to double check but I think the problem is still there. Previously:
Now:
AFAIK with DBConnection it's not possible to return "
Maybe we could move retries to Or maybe DBConnection could be extended with " |
|
👋 I think elixir-ecto/db_connection#337 (which is now used in |
This hopefully prevents the situation in which an unusable (e.g. closed) connection is returned to the pool, causing the next client in queue fail to execute its query.
The expectation is, by propagating the
DBConnection.ConnectionErrorwe'll make it caught by DBConnection and the broken connection will be removed from the pool.@ruslandoga curious on your thoughts on this