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

Dubbo2.7.1 服务shutdown后zk中的注册信息没有自动下线 #4013

Closed
spiritme1984 opened this issue May 10, 2019 · 4 comments
Closed

Comments

@spiritme1984
Copy link

我打算把项目中的dubbo版本由2.5.3升级至2.7.1,依赖升级后程序能够正常启动,但是发现在关闭服务后,注册中心zk中的 /dubbo/xxxService/providers下仍然存在该关闭服务的提供者信息。在2.5.3版本中没有这个问题(当服务关闭后,zk中会自动下线该提供者信息),以下是我的对应依赖版本:
dubbo2.7.1
curator 2.10.0
zookeeper 3.4.6

项目中只是把dubbo升级2.5.3 ->2.7.1 , 其他的那两个依赖包版本没有变动。

@Leishunyu
Copy link
Contributor

2.7.1 zk的服务节点是永久节点 这个问题已经在2.7.2中修复,或者通过在service中配置 <dubbo:service interface="org.apache.dubbo.demo.DemoService" ref="demoService" dynamic="true"/>

@spiritme1984
Copy link
Author

试了,加了dynamic="ture"好像管用。。。啥时候发布2.7.2?

@Leishunyu
Copy link
Contributor

试了,加了dynamic="ture"好像管用。。。啥时候发布2.7.2?
不出意外
应该这个月会发布的

@spiritme1984
Copy link
Author

好的,谢谢!~ 希望能早点发布。。

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