On 9 February 2016 at 23:24, Willy Tarreau <[email protected]> wrote: > I've got this request about 10 years ago, I wanted to implement a server > option called "expect-down", then some users suggested that it could also > be convenient to have a "start-down" option which would not mark the > servers up by default and which would automatically imply this. And in > the end, nothing was done. > > I think that now that we have the ability to keep the servers state upon > reload, these features might be obsolete. Upon reload, you keep the > previous state and there's no alert. I'm not certain it's that convenient > in the case of a new server being deployed though.
I was not aware that HAProxy kept the state across reloads; that's handy. Is there anything that needs to be done to have that? But you're right, in a container world new servers come and old ones go, and there's no expectation of any continuity whatsoever, so it's not enough. Especially for testing, where we regularly spawn 20 instances only to kill 19 of them shortly after to make sure things behave as expected. Cheers,

