You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "vipyxc-byte (via GitHub)" <gi...@apache.org> on 2025/12/24 09:39:45 UTC

Re: [I] [BUG] 泛化调用报session Already Closed 客户端无法自动恢复 [dubbo-go]

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: notifications-unsubscribe@dubbo.apache.org

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