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

客户端调服务端,服务端代码有输出,客户端接收却为"" #2216

Open
zjzhujie125 opened this Issue Aug 7, 2018 · 4 comments

Comments

Projects
None yet
5 participants
@zjzhujie125

zjzhujie125 commented Aug 7, 2018

批量场景:服务A每3秒调用一次服务B,用于获取实时报价。
1.交易端服务A调用报价端服务B。
2.服务B查完数据库有数据返回,并封装好返回服务A。
3.服务A在获取服务B的返回结果时,为"",(请注意是空,不是null)。
分析:
通过日志文件,发现服务B并没有被调用的日志。
所以开始产生各种猜想:难道服务B有缓存??取了服务B的缓存结果?

@kimmking

This comment has been minimized.

Show comment
Hide comment
@kimmking

kimmking Aug 7, 2018

Member

can you submit a demo to reproduce it?

Member

kimmking commented Aug 7, 2018

can you submit a demo to reproduce it?

@apache apache deleted a comment from kimmking Aug 9, 2018

@yy-Eddy

This comment has been minimized.

Show comment
Hide comment
@yy-Eddy

yy-Eddy Aug 9, 2018

嘿, 我也遇到这个问题了,但是我的不同点是可以确定我没有使用缓存,也没有配置dubbo使用缓存,我这边因为提供者返回的对象 所以返回的是空对象 而非"", 我也是在提供者return结果上一行打印的信息是不为空的

yy-Eddy commented Aug 9, 2018

嘿, 我也遇到这个问题了,但是我的不同点是可以确定我没有使用缓存,也没有配置dubbo使用缓存,我这边因为提供者返回的对象 所以返回的是空对象 而非"", 我也是在提供者return结果上一行打印的信息是不为空的

@chickenlj

This comment has been minimized.

Show comment
Hide comment
@chickenlj

chickenlj Aug 10, 2018

Contributor

Hi @zjzhujie125 , have you checked the serialization part?

Contributor

chickenlj commented Aug 10, 2018

Hi @zjzhujie125 , have you checked the serialization part?

@lovepoem

This comment has been minimized.

Show comment
Hide comment
@lovepoem

lovepoem Aug 10, 2018

Member

@zjzhujie125 What's the dubbo version of your project?

Member

lovepoem commented Aug 10, 2018

@zjzhujie125 What's the dubbo version of your project?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment