-
Notifications
You must be signed in to change notification settings - Fork 929
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:when connect to provider fail, will occur panic #1021
Conversation
…lop/github.com/dubbogo/gost-1.11.0 Bump github.com/dubbogo/gost from 1.10.1 to 1.11.0
e96efd6
to
17c4a9e
Compare
Codecov Report
@@ Coverage Diff @@
## develop #1021 +/- ##
===========================================
+ Coverage 59.45% 59.48% +0.02%
===========================================
Files 261 261
Lines 12950 12960 +10
===========================================
+ Hits 7700 7709 +9
- Misses 4276 4278 +2
+ Partials 974 973 -1
Continue to review full report at Codecov.
|
@@ -176,6 +176,8 @@ github.com/dubbogo/go-zookeeper v1.0.2/go.mod h1:fn6n2CAEer3novYgk9ULLwAjuV8/g4D | |||
github.com/dubbogo/gost v1.9.0/go.mod h1:pPTjVyoJan3aPxBPNUX0ADkXjPibLo+/Ib0/fADXSG8= | |||
github.com/dubbogo/gost v1.10.1 h1:39kF9Cd5JOiMpmwG6dX1/aLWNFqFv9gHp8HrhzMmjLY= | |||
github.com/dubbogo/gost v1.10.1/go.mod h1:+mQGS51XQEUWZP2JeGZTxJwipjRKtJO7Tr+FOg+72rI= | |||
github.com/dubbogo/gost v1.11.0 h1:9KtyWQz1gMlAfwzen5iyhMdoe08SPBBUVhco4rdgJ9I= | |||
github.com/dubbogo/gost v1.11.0/go.mod h1:w8Yw29eDWtRVo3tx9nPpHkNZnOi4SRx1fZf7eVlAAU4= |
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.
'go mod tidy'
@@ -116,6 +117,7 @@ type Client struct { | |||
addr string | |||
opts Options | |||
conf ClientConfig | |||
mux sync.RWMutex |
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.
Why don't you use anonymous combination in this case?
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.
may be will add GetMux function to get lock of client
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.
- -
FIX:when connect to provider fail, will occur panic
when connect to provider fail, buildInvokerChain function will occur panic
This Pr can fix #1014