You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Step 2:
Invoke service with two threads concurrent. The second one have been rate limited.
ExecutorService executorService = Executors.newFixedThreadPool(2);
for (int i = 0; i < 2; i++) {
executorService.submit(new Runnable() {
@Override
public void run() {
String result = service.sayHello(input);
System.out.println(result);
}
});
}
Step 3:
Repeat step 2, all two requests have been passed.
Pls. provide [GitHub address] to reproduce this issue.
Expected Result
Step 3 should be rate limited.
Actual Result
Step 3 have not been rate limited.
If there is an exception, please attach the exception trace:
Just put your stack trace here!
The text was updated successfully, but these errors were encountered:
haiyang1985
changed the title
duplicate decrease for executes/actives when services throws exception.
duplicate decrease for executes/actives when services throws exception. #PR: 4276
Jun 11, 2019
Environment
Steps to reproduce this issue
Fix for PR: #4276
Step 1: set executes to 1 in dubbo:service
Step 2:
Invoke service with two threads concurrent. The second one have been rate limited.
Step 3:
Repeat step 2, all two requests have been passed.
Pls. provide [GitHub address] to reproduce this issue.
Expected Result
Step 3 should be rate limited.
Actual Result
Step 3 have not been rate limited.
If there is an exception, please attach the exception trace:
The text was updated successfully, but these errors were encountered: