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/09/03 10:16:19 UTC

[GitHub] [dubbo-go] jack15083 opened a new issue #734: 启动dubbo-go 服务过段时间zk的监听会报错,但是貌似不影响服务调用

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


   <!-- 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**:
   2020-09-03T17:33:28.149+0800    ?[31mERROR?[0m  zookeeper/client.go:589 zk.Children(path{}) = error(zk: invalid path)
   github.com/apache/dubbo-go/common/logger.Errorf
           C:/Users/MST/go/pkg/mod/github.com/apache/dubbo-go@v1.5.1/common/logger/logging.go:52
   github.com/apache/dubbo-go/remoting/zookeeper.(*ZookeeperClient).GetChildren
           C:/Users/MST/go/pkg/mod/github.com/apache/dubbo-go@v1.5.1/remoting/zookeeper/client.go:589
   github.com/apache/dubbo-go/remoting/zookeeper.(*ZkEventListener).handleZkNodeEvent
           C:/Users/MST/go/pkg/mod/github.com/apache/dubbo-go@v1.5.1/remoting/zookeeper/listener.go:135
   github.com/apache/dubbo-go/remoting/zookeeper.(*ZkEventListener).listenDirEvent
           C:/Users/MST/go/pkg/mod/github.com/apache/dubbo-go@v1.5.1/remoting/zookeeper/listener.go:325
   github.com/apache/dubbo-go/remoting/zookeeper.(*ZkEventListener).ListenServiceEvent.func1
           C:/Users/MST/go/pkg/mod/github.com/apache/dubbo-go@v1.5.1/remoting/zookeeper/listener.go:357
   2020-09-03T17:33:28.150+0800    ?[31mERROR?[0m  zookeeper/listener.go:146       path{} child nodes changed, zk.Children() = error{zk.Children(path:): zk: invalid path}
   github.com/apache/dubbo-go/common/logger.Errorf
           C:/Users/MST/go/pkg/mod/github.com/apache/dubbo-go@v1.5.1/common/logger/logging.go:52
   github.com/apache/dubbo-go/remoting/zookeeper.(*ZkEventListener).handleZkNodeEvent
           C:/Users/MST/go/pkg/mod/github.com/apache/dubbo-go@v1.5.1/remoting/zookeeper/listener.go:146
   github.com/apache/dubbo-go/remoting/zookeeper.(*ZkEventListener).listenDirEvent
           C:/Users/MST/go/pkg/mod/github.com/apache/dubbo-go@v1.5.1/remoting/zookeeper/listener.go:325
   github.com/apache/dubbo-go/remoting/zookeeper.(*ZkEventListener).ListenServiceEvent.func1
           C:/Users/MST/go/pkg/mod/github.com/apache/dubbo-go@v1.5.1/remoting/zookeeper/listener.go:357
   
   **What you expected to happen**:
   
   **How to reproduce it (as minimally and precisely as possible)**:
   
   **Anything else we need to know?**:
   


----------------------------------------------------------------
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 #734: 启动dubbo-go 服务过段时间zk的监听会报错,但是貌似不影响服务调用

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


   通过查看源吗我知道是什么问题了,感觉是有段代码有bug,希望尽快确认下
   
   zkEvent 在没有childEventCh输入时,zkEvent.path为空,定时器的任务还在执行,导致每隔10分钟就会有上面的报错 zk: invalid path
   
   代码位置remoting/zookeeper/listener.go  325行
   
   
   ![image](https://user-images.githubusercontent.com/2142066/92190941-f8811100-ee94-11ea-937a-82ca2bdcec3b.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 #734: 启动dubbo-go 服务过段时间zk的监听会报错,但是貌似不影响服务调用

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


   通过查看源吗我知道是什么问题了,感觉是有段代码有bug,希望尽快确认下
   
   zkEvent 在没有childEventCh输入时,zkEvent.path为空,定时器的任务还在执行,导致每隔10分钟就会有上面的报错 zk: invalid path
   
   代码位置remoting/zookeeper/listener.go 
   
   
   ![image](https://user-images.githubusercontent.com/2142066/92190941-f8811100-ee94-11ea-937a-82ca2bdcec3b.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] AlexStocks closed issue #734: 启动dubbo-go 服务过段时间zk的监听会报错,但是貌似不影响服务调用

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


   


----------------------------------------------------------------
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