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 2021/11/22 11:00:14 UTC

[GitHub] [dubbo] zrlw removed a comment on pull request #9284: [3.0] remove last rpc service context at the beginning of next rpc invocation to support LazyConnectExchangeClient and avoid NPE

zrlw removed a comment on pull request #9284:
URL: https://github.com/apache/dubbo/pull/9284#issuecomment-972916704


   换了一种方式:
   1. RpcContext销毁SERVICE_CONTEXT时,通知InstanceAddressURL采用强引用方式保存RpcServiceContext;
   2. 调整InstanceAddressURL获取RpcServiceContext的方法:如果RpcServiceContext已保存, 而且保存的ServiceContext的consumerUrl的scope model为destroyed状态,则使用保存的ServiceContext,否则使用RpcContext的RpcServiceContext。


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