lua-resty-upstream-healthcheck icon indicating copy to clipboard operation
lua-resty-upstream-healthcheck copied to clipboard

Added all_down flag

Open eglinux opened this issue 7 years ago • 2 comments
trafficstars

Added new all_down flag (upstream:all_down) to the global dict structure. Needed to detect situations when all peers are down for the upstream. If such has happened - we switch all peers to up state instead. Proper error message will be appearing in the error log.

Related to the Issue #51

eglinux avatar Feb 26 '18 10:02 eglinux

Looks like TEST 11 is failing because there is only one peer in upstream foo.com and it is actually down.

So, if this request has to be accepted I think test can be modified to expect status 'up' instead of 'DOWN'. Since it is the point to achieve this.

eglinux avatar Feb 26 '18 10:02 eglinux

Any chance that you would evaluate the changes ? )

eglinux avatar Mar 19 '18 08:03 eglinux