bert82503 commented on issue #11716:
URL: https://github.com/apache/dubbo/issues/11716#issuecomment-1924345528

   > Metadata 这个服务目前是已知的不加载 Filter 的,建议在你们的 Filter 中也排除掉这个服务
   
   这个是从哪个版本开始调整的?`dubbo-3.1.1`使用中没出现这个。
   
   
原来如此,这样会有问题。因为业务应用都是通过`dubbo.provider.filter=xxx`统一配置自定义Filter,Filter中会使用`RpcContext.getServiceContext().isConsumerSide()`,而请求getMetadataInfo会走到这些Filter。
   
   既然Metadata这个服务不加载Filter,为何其服务请求还要走Filter呢,建议两边保持一致语义。
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to