Skip to content

Connection shutdown connection should not go back to pool #1097

Open
@cincuranet

Description

@cincuranet

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.

Activity

self-assigned this
on Mar 3, 2023
cincuranet

cincuranet commented on Mar 3, 2023

@cincuranet
MemberAuthor
changed the title [-]Cconnection shutdown connection should not go back to pool[/-] [+]Connection shutdown connection should not go back to pool[/+] on Mar 3, 2023
mrjohnr

mrjohnr commented on Jun 25, 2023

@mrjohnr

hi, any news about this issue? thanks

cincuranet

cincuranet commented on Jun 25, 2023

@cincuranet
MemberAuthor

Nope.

mrjohnr

mrjohnr commented on Jun 27, 2023

@mrjohnr

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) :(

cincuranet

cincuranet commented on Jun 27, 2023

@cincuranet
MemberAuthor

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.

added theissue type on Apr 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @cincuranet@mrjohnr

      Issue actions

        Connection shutdown connection should not go back to pool · Issue #1097 · FirebirdSQL/NETProvider