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/12/21 13:14:07 UTC

[GitHub] [dubbo] fangzhenhe opened a new issue #9460: 关于dubbo嵌套调用,消费者过滤器消除RpcContext导致的最早调用的消费者丢失RpcContext。链路追踪采集不到问题

fangzhenhe opened a new issue #9460:
URL: https://github.com/apache/dubbo/issues/9460


   ![image](https://user-images.githubusercontent.com/35289893/146935555-369492ff-39dd-4577-9a8a-4516ebba7ac9.png)
   解释:order是最外层dubbo的调用,distribute是里层的dubbo调用。client代表消费者,server代表提供者。before可以理解成拦截方法前,after理解成拦截方法后。
   问题:在里层的dubbo调用后将前一个未执行完毕的dubbo消费的RpcContext消除覆盖,导致上未执行完的dubbo消费传递上下文给提供方的时候丢失RpcContext。


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


[GitHub] [dubbo] fangzhenhe commented on issue #9460: 关于dubbo嵌套调用,消费者过滤器消除RpcContext导致的最早调用的消费者丢失RpcContext。链路追踪采集不到问题

Posted by GitBox <gi...@apache.org>.
fangzhenhe commented on issue #9460:
URL: https://github.com/apache/dubbo/issues/9460#issuecomment-999211822


   版本2.7.9


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


[GitHub] [dubbo] fl061157 commented on issue #9460: 关于dubbo嵌套调用,消费者过滤器消除RpcContext导致的最早调用的消费者丢失RpcContext。链路追踪采集不到问题

Posted by GitBox <gi...@apache.org>.
fl061157 commented on issue #9460:
URL: https://github.com/apache/dubbo/issues/9460#issuecomment-1012710784


   DUBBO3 的 URL 设计上 感觉很坑, RPCServiceContext的话 如果出现嵌套调用, 要先保存上下文, 然后 调用其它RPC 服务, 然后恢复上下文。 尽量不要再 Consumer 的 Filter中 发起其它 RPC 调用。 


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


[GitHub] [dubbo] AlbumenJ commented on issue #9460: 关于dubbo嵌套调用,消费者过滤器消除RpcContext导致的最早调用的消费者丢失RpcContext。链路追踪采集不到问题

Posted by GitBox <gi...@apache.org>.
AlbumenJ commented on issue #9460:
URL: https://github.com/apache/dubbo/issues/9460#issuecomment-999385651


   升级到 3.0 分离 RpcClientAttachment 和 RpcServerAttachment 解决


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