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/09/10 01:40:01 UTC

[GitHub] [dubbo] EarthChen commented on issue #8738: [3.0-Triple] Attachment is lost when calling with registry (like zk)

EarthChen commented on issue #8738:
URL: https://github.com/apache/dubbo/issues/8738#issuecomment-916564344


   > ![image](https://user-images.githubusercontent.com/39434627/132783707-45ba27b1-0c93-4025-9438-bd60dc4bb7d0.png)
   > 
   > @AlbumenJ 这两段代码有些矛盾,finally已经将context清空了,onResponse再设置也没啥意义
   > 
   > 3.0将RpcContext分成ServerContext、ServerAttachment、ClientAttachment、ServiceContext,有点不太清楚他们分别的应用场景,ServerAttachment和ServerContext的差异是?ServiceContext的定位是?看代码注解没太看明白,大佬有空帮忙解答下
   
   可能是我的环境问题,后来的测试场景都是直连不能放入ServerContext
   
   原因是 filter 变为了 clusterfilter 而当使用 url 直连的时候 StaticDirectory会直接跳过 clusterfilter 的链的包装,如果只有一个 url ,都不会包装成 clusterinvoker
   


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