Alanxtl opened a new pull request, #3071:
URL: https://github.com/apache/dubbo-go/pull/3071

   fix https://github.com/apache/dubbo-go/issues/2981
   
   done, 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]

Reply via email to