2 ms·
There's a fundamental unfixable race there: a connection can be picked from the pool while a FIN is already on its way to the client. This is "caused" (as in,
by yencabulator 6y ago
There's a fundamental unfixable race there: a connection can be picked from the pool while a FIN is already on its way to the client.
This is "caused" (as in, not mitigated) by the intersection of a naive protocol, as pretty much all SQL protocols are, and the nature of distributed programming.
- user5994461 6y agoYou realize the database server was misconfigured to drop connections transparently after 30 seconds? If it were not for that, TCP race conditions are extremely rare.