vipyxc-byte commented on issue #2981: URL: https://github.com/apache/dubbo-go/issues/2981#issuecomment-3689261390
> hi [@drama10096](https://github.com/drama10096) [@vipyxc-byte](https://github.com/vipyxc-byte) this bug is fixed in [#3071](https://github.com/apache/dubbo-go/pull/3071), try this > > this bug was introduced in [#2726](https://github.com/apache/dubbo-go/pull/2726), the operation of `bi.url` set to nil and the access of url in `cluster/cluster/failover/cluster_invoker.go: 86` may happen concurrently, thus cause nil pointer access > > ``` > func (bi *BaseInvoker) Destroy() { > logger.Infof("Destroy invoker: %s", bi.GetURL()) > bi.destroyed.Store(true) > bi.available.Store(false) > bi.url = nil > } > ``` > > k8s集群内的测试我也试过了 应该是没问题的 > > session already close 的问题我没复现出来 但是上文提到的偶发的panic在这个pr中被修复了 大佬,上次提到的偶发panic计划什么时候发布? -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
