NETProvider icon indicating copy to clipboard operation
NETProvider copied to clipboard

Connection shutdown connection should not go back to pool

Open cincuranet opened this issue 2 years ago • 5 comments

When connection is closed from server-side (connection shutdown response, from i.e. DELETE FROM MON$ATTACHMENTS WHERE MON$ATTACHMENT_ID<>CURRENT_CONNECTION), the socket is no longer usable, yet the code puts the connection back to the pool (no IO problem happened yet). This means the connection will get back to application and application will for sure have to use retry logic to get new connection and continue doing what it was doing. Not a deal-breaker as retry logic should be there anyway, but it should be handled more pro-actively.

Taken from #1095.

cincuranet avatar Mar 03 '23 20:03 cincuranet

cc @luronumen

cincuranet avatar Mar 03 '23 20:03 cincuranet

hi, any news about this issue? thanks

mrjohnr avatar Jun 25 '23 12:06 mrjohnr

Nope.

cincuranet avatar Jun 25 '23 13:06 cincuranet

is that project abandoned ?no bugs fixed for a while, no Net 7 version, in about four moths Net 8 will be released and I'm still on Net 3.1(reached end of life/no longer supported) :(

mrjohnr avatar Jun 27 '23 11:06 mrjohnr

You're more than welcome to select a bug and fix it.

What from .NET 7 you need in provider (maybe better to continue in mailing list, instead of polluting this issue)? BTW EF7 is happening here, depending on my free time.

cincuranet avatar Jun 27 '23 11:06 cincuranet