-
Notifications
You must be signed in to change notification settings - Fork 619
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
grpc be closed when uninstall service target #807
Comments
i resovled my problem
|
This was referenced Dec 21, 2020
nathanejohnson
added a commit
that referenced
this issue
Jul 12, 2022
fixes #807 - changes map for grpc connections to be a string key
nathanejohnson
added a commit
that referenced
this issue
Jul 15, 2022
nathanejohnson
added a commit
that referenced
this issue
Dec 10, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
there two problems
target connect will close while one target uninstall by method grpcConnectionPool::cleanup(),it's 5s interval check
I uninstall the service of the current target. Although I refused new grpc request right now ,But I need to finish processing the grpc requests currently being processed before disconnecting
grpc_handle.go function hasTarget compare by pointer(target address) to check target whether exist in route.Table, code main.go method watchBackend will NewTable every time while service refresh,so if one service had three target,if just one target uninstall from service ,other two target also will closed by cleanup() ,i think it need reuse old target connect
The text was updated successfully, but these errors were encountered: