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/08/26 07:15:04 UTC

[GitHub] [dubbo] zrlw edited a comment on issue #8602: [2.7.13] 尚未完成异步回调的rpcContext被直接复用于后续dubbo调用处理,导致异步回调方法rpcContext里面的consumerURL并不是asyncRpcResult保存的对象

zrlw edited a comment on issue #8602:
URL: https://github.com/apache/dubbo/issues/8602#issuecomment-906145874


   dubbo处理invoke请求的工作线程里的rpcContext只有一份,当处理第二次invoke时,直接复用上一次dubbo尚未完成回调的rpcContext,会将上次异步调用时保存到asyncRpcResult里面的storedContext的consumerURL属性进行重置。
   相关代码截图如下:
   ![dubbo事件通知缺陷](https://user-images.githubusercontent.com/40652892/130915524-b30c408f-f904-4278-a40c-6772f76ed183.png)
   ![dubbo事件通知缺陷-调用栈](https://user-images.githubusercontent.com/40652892/130918288-7278b450-bbff-4d9d-b1d4-b9e193bb6313.png)
   
   PS:
   本issue源于尝试解决 #8567 
   


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