-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
节点异常关闭没有调用deRegister时,动态路由和负载均衡未过滤异常节点,导致访问出错
To Reproduce
按照 https://github.com/polarismesh/grpc-go-polaris/blob/main/examples/routing/README.md 中的流程启动三个provider和consumer之后,通过curl调用,正常返回结果
此时kill掉其中一个provider,之后多次curl调用发现会请求到已经被kill的异常节点(console后台状态显示为异常)
Expected behavior
希望官方可以修复此Bug
Environment
- Version: [v1.4.0]
- OS: [windows11]
Additional context
通过对balancer.go文件添加日志发现
pnp.balancer.routerAPI.ProcessRouters(request)
pnp.balancer.routerAPI.ProcessLoadBalance(lbReq)
这两个调用都没有过滤掉异常节点
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working