Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix potential race condition bug #131

Merged
merged 1 commit into from
Oct 19, 2015
Merged

Conversation

mikewilliamson
Copy link

While re-using this code in another application I realised that there is a potential bug. It might be possible for one IP address to return an error before another one returns a successful connection, in which case the error handling code would have caused the connection to be ignored. This never happened to occur in the availability group because the non-primary listeners would take a while to time out. Don't want to depend on that, though.

@dimdin
Copy link
Collaborator

dimdin commented Oct 19, 2015

thank you

dimdin added a commit that referenced this pull request Oct 19, 2015
Fix potential race condition bug
@dimdin dimdin merged commit fda4305 into denisenkom:master Oct 19, 2015
odeke-em pushed a commit to orijtech/go-mssqldb that referenced this pull request Jul 26, 2020
Update README to reflect epoch filenames
odeke-em pushed a commit to orijtech/go-mssqldb that referenced this pull request Jul 26, 2020
Refactor cli package to allow `go get` one-liner with a proper binary name
gabrielcorado pushed a commit to gravitational/go-mssqldb that referenced this pull request Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants