Skip to content
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

点击服务测试后,这个服务会在服务查询列表消失 #891

Closed
chenjjl opened this issue May 12, 2022 · 4 comments
Closed

点击服务测试后,这个服务会在服务查询列表消失 #891

chenjjl opened this issue May 12, 2022 · 4 comments

Comments

@chenjjl
Copy link
Contributor

chenjjl commented May 12, 2022

每次调用服务测试后都会reference.destory(),造成了点击服务测试后在服务查询列表里这个服务就消失了。

chenjjl pushed a commit to chenjjl/dubbo-admin that referenced this issue May 12, 2022
@haoyann
Copy link
Contributor

haoyann commented May 13, 2022

应该不是这个原因,reference.destory() 只是销毁的泛化调用的客户端,不会影响服务列表。

@chenjjl
Copy link
Contributor Author

chenjjl commented May 13, 2022

应该不是这个原因,reference.destory() 只是销毁的泛化调用的客户端,不会影响服务列表。

测试发现reference.destory()会生成protocol为empty的url,导致RegistryServerSync#notify()监听到后把该服务从列表里移除了
截屏2022-05-13 11 00 24
dubbo3.0.8是修复了这个问题吗?

@haoyann
Copy link
Contributor

haoyann commented May 17, 2022

3.0.8 解决的是这个问题 apache/dubbo#8654 , 你说的这个问题我再看看。

@haoyann
Copy link
Contributor

haoyann commented May 27, 2022

确实有这个问题存在, 升级到 dubbo 3.0.8 之后 #903 已经解决了.

@haoyann haoyann closed this as completed Jun 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants