You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2020/12/23 06:07:56 UTC

[GitHub] [dubbo-go] jack15083 opened a new issue #956: consumer端zk断开重连后调不通provider服务

jack15083 opened a new issue #956:
URL: https://github.com/apache/dubbo-go/issues/956


   <!-- Please use this template while reporting a bug and provide as much info as possible. Not doing so may result in your bug not being addressed in a timely manner. Thanks!
   
   -->
   
   
   **What happened**:
   开发环境zk不太稳定,经连接经常断开发现一断开重连所有的consumer references 就调不能通了,必须重启才能调通
   
   **What you expected to happen**:
   
   **How to reproduce it (as minimally and precisely as possible)**:
   
   **Anything else we need to know?**:
   调试发现invokers服务被清空
   ![image](https://user-images.githubusercontent.com/2142066/102964900-a806ef80-4527-11eb-9b8c-1956682b88eb.png)
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go] jack15083 commented on issue #956: consumer端zk断开重连后调不通provider服务

Posted by GitBox <gi...@apache.org>.
jack15083 commented on issue #956:
URL: https://github.com/apache/dubbo-go/issues/956#issuecomment-752846529


   > @jack15083 we handle zookeeper reconnect in `HandleClientRestart` function in remoting/zookeeper/facade.go:44. Please supply a simple demo to reproduce this issue.
   只要报zk connect is nil 这个问题必现
   
   ![Uploading image.png…]()
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go] jack15083 closed issue #956: consumer端zk断开重连后调不通provider服务

Posted by GitBox <gi...@apache.org>.
jack15083 closed issue #956:
URL: https://github.com/apache/dubbo-go/issues/956


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go] Patrick0308 commented on issue #956: consumer端zk断开重连后调不通provider服务

Posted by GitBox <gi...@apache.org>.
Patrick0308 commented on issue #956:
URL: https://github.com/apache/dubbo-go/issues/956#issuecomment-752044751


   @jack15083 we handle zookeeper reconnect in `HandleClientRestart` function in remoting/zookeeper/facade.go:44. Please supply a simple demo to reproduce this issue.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go] jack15083 commented on issue #956: consumer端zk断开重连后调不通provider服务

Posted by GitBox <gi...@apache.org>.
jack15083 commented on issue #956:
URL: https://github.com/apache/dubbo-go/issues/956#issuecomment-753560754


   fix https://github.com/apache/dubbo-go/pull/940


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go] jack15083 edited a comment on issue #956: consumer端zk断开重连后调不通provider服务

Posted by GitBox <gi...@apache.org>.
jack15083 edited a comment on issue #956:
URL: https://github.com/apache/dubbo-go/issues/956#issuecomment-753560754


   https://github.com/apache/dubbo-go/pull/985


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go] jack15083 commented on issue #956: consumer端zk断开重连后调不通provider服务

Posted by GitBox <gi...@apache.org>.
jack15083 commented on issue #956:
URL: https://github.com/apache/dubbo-go/issues/956#issuecomment-753310322


   > @jack15083 we handle zookeeper reconnect in `HandleClientRestart` function in remoting/zookeeper/facade.go:44. Please supply a simple demo to reproduce this issue.
   
   你可以强制将服务端的zk连接断掉,然后重连,消费端这个报错会必现


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go] jack15083 commented on issue #956: consumer端zk断开重连后调不通provider服务

Posted by GitBox <gi...@apache.org>.
jack15083 commented on issue #956:
URL: https://github.com/apache/dubbo-go/issues/956#issuecomment-751427818


   zk 监听逻辑这里  zk连接丢失不应该close,这样会导致整个zk监听 goroutine exit掉,服务就会一直调不通了,这里应该改成重连比较好 
   
   ![image](https://user-images.githubusercontent.com/2142066/103164459-6091a380-4846-11eb-99a4-6fac1dbd88c6.png)
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org