You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "jimiyi (GitHub)" <gi...@apache.org> on 2019/09/11 06:43:08 UTC

[GitHub] [dubbo] jimiyi opened issue #5052: 配置的executes参数引发的bug

### Environment

* Dubbo version: 2.7.2
* Operating System version: centos
* Java version: 1.8

### Steps to reproduce this issue
接口配置了全局的executes参数后,对并发请求接口做了限制,跟踪代码发现接口请求计数不会扣减,原因如下:
1. 是使用泛化调用的发起的请求
2. 请求经过GenericFilter后,ExecuteLimitFilter(line: 52)方法里可以拿到争取的methodName
3. 外层ProtocolFilterWrapper(line: 159)在扣减接口计数时,外层的invocation,并没有经过GenericFilter过滤,所以拿到的methodName依然是$invoke, 造成计数扣减失败

请尽快修复这个bug


[ Full content available at: https://github.com/apache/dubbo/issues/5052 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org