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

bug: 在使用 service 的 round-robin 负载均衡器策略时,并发访问,会偶现 select error: no valid node 异常 #157

Open
RicardoArk opened this issue May 8, 2024 · 1 comment
Assignees

Comments

@RicardoArk
Copy link

Current Behavior

在使用 service 的 round-robin 负载均衡器策略时,并发访问,会偶现 select error: no valid node 异常

Expected Behavior

No response

Error Logs

[ERRO] [worker-43]select error: no valid node
[ERRO] [worker-43]select error: no valid node
[ERRO] [worker-43]select error: no valid node
[ERRO] [worker-43]select error: no valid node

Steps to Reproduce

step1:通过 openapi 添加服务信息,添加时选择负载均衡器配置 "balance": "round-robin"
step2:添加的 nodes 数组只填写一个节点
step3:添加路由,将上述步骤添加的 service 作为 target service
step4:并发请求该路由,出现问题的场景有 10 人并发访问该路由
step5:查看错误日志 error.log (docker 挂载位置: /var/lib/apinto/log)

Environment

  • APINTO version (run apinto version):
  • Operating system (run uname -a):
@Dot-Liu
Copy link
Collaborator

Dot-Liu commented May 10, 2024

该问题已经修复并发布,您可以重新pull代码,或者使用最新版本的release文件再试试

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Release
Development

No branches or pull requests

3 participants