ThreeMammals/Ocelot

How to avoid calling down service in load balancer option

開放

#1,041 建立於 2019年10月17日

 (14 則留言) (0 個反應) (0 位負責人)C# (1,617 個分叉)batch import
Health CheckLoad BalancerQoSacceptedbughelp wantedhighmedium effort

倉庫指標

星標
 (8,137 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

Expected Behavior / New Feature

Load balancer should able to recognize the down service and stop calling service or up the service.

Actual Behavior / Motivation for New Feature

Load balancer is calling the service although the service is down and returning 500 internal server on every call.

Steps to Reproduce the Problem

  1. Created two instance of the same module and run on different port.
  2. Added load balance option for those two service instance of type RoundRobin.
  3. Kill the second service and now Ocelot still redirect to down service.

Specifications

  • Version: 13.5.2
  • Platform: Windows 10
  • Subsystem:

貢獻者指南