Skip to content
This repository has been archived by the owner on Jul 3, 2021. It is now read-only.

Be able to mark an upstream host as 'down' for a definable period of time. #13

Closed
damianh opened this issue Dec 28, 2018 · 3 comments
Closed
Labels
enhancement New feature or request wontfix This will not be worked on

Comments

@damianh
Copy link
Collaborator

damianh commented Dec 28, 2018

If a host is not available / not reachable then is should be possible to mark it as down and temporarily remove it from a distribution group.

@damianh damianh added this to the v2.0 milestone Jan 2, 2019
@sphiecoh
Copy link

This will solve the round robbin issue when services go down. I currently have a manual workaround :

 if (response.StatusCode == HttpStatusCode.ServiceUnavailable)
                         {
                             var _next = roundRobin.Next();

                             while (_next.Host == host.Host)
                             {
                                 _next = roundRobin.Next();
                             }
                             response = await context
                                 .ForwardTo(_next)
                                 .AddXForwardedHeaders()
                                 .Send();
                         }

and I still need to check the response to see if I need to move to the next one.

@damianh
Copy link
Collaborator Author

damianh commented Jan 27, 2019

Thanks for sharing"

@damianh damianh added the enhancement New feature or request label Jan 27, 2019
@damianh damianh removed this from the v2.0 milestone Jan 27, 2019
@damianh
Copy link
Collaborator Author

damianh commented Sep 19, 2020

In light of #230, I won't be adding first class support for this now.

@damianh damianh closed this as completed Sep 19, 2020
@damianh damianh added the wontfix This will not be worked on label Sep 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants