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

dubbo框架2.x服务发现本地cache过期导致监听事件任务退出 #415

Open
Sad-polar-bear opened this issue Jul 26, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Sad-polar-bear
Copy link

描述bug
Dubbo框架2.x服务发现采取subcribe-watch机制,只会在rpc框架启动之初调用一次polaris获取服务发现的全量数据,在此之后如果这些服务发现的数据默认24小时内无变化,便会触发cache删除机制,cache删除的同时会删除掉服务监听事件的Task,从而导致consumer失去对正在调用的provder所属北极星服务的事件监听。
目前发现该过程对如下场景均有不同程度的影响:
1、consumer内部对应的provier所属北极星服务过期之后,重启/升级provider,consumer会调用到该provider对应ip:port未启动的接口上,导致业务报错

@Sad-polar-bear Sad-polar-bear added the bug Something isn't working label Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant