Alanxtl commented on issue #2981: URL: https://github.com/apache/dubbo-go/issues/2981#issuecomment-3531198749
hi @drama10096 @vipyxc-byte this bug is fixed in https://github.com/apache/dubbo-go/pull/3071, try this this bug was introduced in 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 } ``` -- 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]
