8000 bug: 在使用 service 的 round-robin 负载均衡器策略时,并发访问,会偶现 select error: no valid node 异常 · Issue #157 · eolinker/apinto · GitHub
[go: up one dir, main page]

Skip to content

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

Open

Description

@RicardoArk

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):

Activity

  1. moved this to In Progress in Apintoon May 8, 2024
  2. moved this from In Progress to Done in Apintoon May 10, 2024
  3. Dot-Liu commented on May 10, 2024

    @Dot-Liu
    Collaborator

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

  4. moved this from Done to Release in Apintoon May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

  • Status
    Release

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

0