-
Notifications
You must be signed in to change notification settings - Fork 932
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
【consul】服务被interrupt之后,并不会立刻从注册中心消失 #749
Comments
JiaLiangoooo
changed the title
服务被interrupt之后,并不会立马从注册中心消失,
【consul】服务被interrupt之后,并不会立刻从注册中心消失
Sep 10, 2020
yes, you are right .that is a bug, if you know how to fix it , pr is welcome. |
I created a PR: ,please review: |
Merged
目前register的URL与unregister的URL不是一样的,并不会从注册中心下线 register
unregister
|
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened:
目前注册中心用的consul,服务被强行interrupt, 现象是当前的已经被注册上去的service并不会立即消失. 而是过一段时间后会被注册中心自动删除. registry中的Unregister并不会被调用
What you expected to happen:
服务被interrupt, 应该直接从注册中心UnRegister, 而不应该依赖consul检测后,自动清除
The text was updated successfully, but these errors were encountered: