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


   换了一种方式:
   1. 
在RpcContext销毁SERVICE_CONTEXT时,通知InstanceAddressURL采用浅克隆方式保存RpcServiceContext;
   2. 
修改InstanceAddressURL获取ServiceContext的相关方法:如果ServiceContext已保存,而且从RpcContext获取的ServiceContext的consumerUrl为null,则使用保存的ServiceContext,否则使用RpcContext的ServiceContext。


-- 
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-unsubscr...@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org
For additional commands, e-mail: notifications-h...@dubbo.apache.org

Reply via email to