-
Notifications
You must be signed in to change notification settings - Fork 26.5k
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
RpcContext's ServerContext can not transform data from provider to consumer when using sync invoke mode #3662
Comments
I think your pr will cause new problems. By the way, why create a new issue. Focus on #3620? |
Because this pr cannot solve the problem when using async invoke |
But it will cause another problem. |
I am not sure if the remove operation of servercontext that is execute in the onResponse method is equal to be executed in the invoke method. |
of course not.... Since this pr can't fix the problem, I think we can close this issue and focus on #3620. What do u think |
I think it is two problems, one is sync invoke, the other is async. We can remains them both, or merge to one |
Maybe merge to one is better. We can change the title of #3620 to indicate there are some problems on server context. |
OK |
hi, @tswstarplanet |
I think the pr can be remained. It need some time to test ifit can solve the problem when using sync invoke without impacting async invoke. We donnot need to close one pr so quickly |
http://dubbo.apache.org/zh-cn/docs/user/demos/attachment.html I remember the attachment value is transfered from consumer to provider but not provider to consumer. |
I tried both sync and async invoke on 2.7.5, failed to reproduce, I think this issue does not exist or it's been fixed. |
Environment
Steps to reproduce this issue
Pls. provide [GitHub address] to reproduce this issue.
Expected Result
Console output:
context: 123
Actual Result
context: null
What actually happens?
If there is an exception, please attach the exception trace:
The text was updated successfully, but these errors were encountered: