New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
并发下RPC响应可能互窜 #1472
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
并发下RPC客户端请求和接受的结果不匹配。
如传入ID 1可能接收到的结果是ID 2。详细代码如下Detail。
并发模拟:
ab -n 100000 -c 10 "http://192.168.138.130:18306/?id=1"
ab -n 100000 -c 10 "http://192.168.138.130:18306/?id=2"
Expected behavior
不会出现响应和请求不匹配
Screenshots
Details
RPC服务:
RPC客户端:
The text was updated successfully, but these errors were encountered: