-
Notifications
You must be signed in to change notification settings - Fork 234
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
Avoid interrupt inflight requests after a new socket connect failed #5
Conversation
Thanks @carter2000, much appreciated. |
server.go
Outdated
server.close(true) | ||
} | ||
|
||
func (server *mongoServer) close(idle bool) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
func (server *mongoServer) close(waitForIdle bool)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks, I have changed it as you suggest.
@@ -316,6 +320,19 @@ func (socket *mongoSocket) Close() { | |||
socket.kill(errors.New("Closed explicitly"), false) | |||
} | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
godoc?
Thanks @carter2000 - we'll be testing a build of this and then we'll merge it into master. Cheers! |
This patch updates the outdated mgo package to the community version github.com/globalsign/mgo to fix the issue that the mgo session cannot be used after the primary node shutdown and re-elected. Related issue: globalsign/mgo#5
This patch updates the outdated mgo package to the community version github.com/globalsign/mgo to fix the issue that the mgo session cannot be used after the primary node shutdown and re-elected. Related issue: globalsign/mgo#5
This patch updates the outdated mgo package to the community version github.com/globalsign/mgo to fix the issue that the mgo session cannot be used after the primary node shutdown and re-elected. Related issue: globalsign/mgo#5
This patch updates the outdated mgo package to the community version github.com/globalsign/mgo to fix the issue that the mgo session cannot be used after the primary node shutdown and re-elected. Related issue: globalsign/mgo#5
Avoid interrupt inflight requests after a new socket connect failed Thanks to @carter2000
This patch updates the outdated mgo package to the community version github.com/globalsign/mgo to fix the issue that the mgo session cannot be used after the primary node shutdown and re-elected. Related issue: globalsign/mgo#5
See go-mgo#437