zapatos
zapatos copied to clipboard
Fix transactions returning bad connections to the pool
Currently, errors in transactions do not get propagated to the pool. This means failed connections will get returned to the pool, effectively poisoning the well. This change simply passes exceptions back to the pool when they occur, allowing the connection to be dropped.
@jawj
@jfrconley I'm curious what the impact of this bug/fix is. Can you elaborate?
I'm sorry to see I never responded to this. @jfrconley Is there any chance you could put together a simple test case that demonstrates the problem and how your patch solves it?